mirror of https://github.com/efabless/caravel.git
adding user_project_wrapper empty files -- gds & lef
This commit is contained in:
parent
489bddcf98
commit
d4e6ed5684
Binary file not shown.
Binary file not shown.
19
info.yaml
19
info.yaml
|
@ -1,19 +0,0 @@
|
||||||
---
|
|
||||||
project:
|
|
||||||
description: "A template SoC for Google sponsored Open MPW shuttles for SKY130."
|
|
||||||
foundry: "SkyWater"
|
|
||||||
git_url: "https://github.com/efabless/caravel_openframe.git"
|
|
||||||
organization: "Efabless"
|
|
||||||
organization_url: "http://efabless.com"
|
|
||||||
owner: "Tim Edwards"
|
|
||||||
process: "SKY130"
|
|
||||||
project_name: "Caravel"
|
|
||||||
project_id: "00000000"
|
|
||||||
tags:
|
|
||||||
- "Open MPW"
|
|
||||||
- "Test Harness"
|
|
||||||
category: "Test Harness"
|
|
||||||
top_level_netlist: "verilog/gl/caravel.v"
|
|
||||||
user_level_netlist: "verilog/gl/user_project_wrapper.v"
|
|
||||||
version: "2.00"
|
|
||||||
cover_image: "docs/caravel_block_diagram.svg"
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,30 @@
|
||||||
|
<!---
|
||||||
|
# SPDX-FileCopyrightText: 2020 Efabless Corporation
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
# you may not use this file except in compliance with the License.
|
||||||
|
# You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
-->
|
||||||
|
# DV Tests
|
||||||
|
|
||||||
|
Organized into two subdirectories:
|
||||||
|
* caravel: contains tests for both the mangement SoC and an example user project.
|
||||||
|
* wb_utests: contains unit tests for the wishbone components residing at the management SoC private bus
|
||||||
|
|
||||||
|
<pre>
|
||||||
|
├── caravel
|
||||||
|
│ ├── mgmt_soc
|
||||||
|
│ ├── user_proj_example
|
||||||
|
└── wb_utests
|
||||||
|
</pre>
|
||||||
|
|
|
@ -0,0 +1,49 @@
|
||||||
|
// SPDX-FileCopyrightText: 2020 Efabless Corporation
|
||||||
|
//
|
||||||
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
// you may not use this file except in compliance with the License.
|
||||||
|
// You may obtain a copy of the License at
|
||||||
|
//
|
||||||
|
// http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
//
|
||||||
|
// Unless required by applicable law or agreed to in writing, software
|
||||||
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
// See the License for the specific language governing permissions and
|
||||||
|
// limitations under the License.
|
||||||
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
|
`default_nettype none
|
||||||
|
module dummy_slave(
|
||||||
|
input wb_clk_i,
|
||||||
|
input wb_rst_i,
|
||||||
|
|
||||||
|
input wb_stb_i,
|
||||||
|
input wb_cyc_i,
|
||||||
|
input wb_we_i,
|
||||||
|
input [3:0] wb_sel_i,
|
||||||
|
input [31:0] wb_adr_i,
|
||||||
|
input [31:0] wb_dat_i,
|
||||||
|
|
||||||
|
output reg [31:0] wb_dat_o,
|
||||||
|
output reg wb_ack_o
|
||||||
|
);
|
||||||
|
reg [31:0] store;
|
||||||
|
|
||||||
|
wire valid = wb_cyc_i & wb_stb_i;
|
||||||
|
|
||||||
|
always @(posedge wb_clk_i) begin
|
||||||
|
if (wb_rst_i == 1'b 1) begin
|
||||||
|
wb_ack_o <= 1'b 0;
|
||||||
|
end else begin
|
||||||
|
if (wb_we_i == 1'b 1) begin
|
||||||
|
if (wb_sel_i[0]) store[7:0] <= wb_dat_i[7:0];
|
||||||
|
if (wb_sel_i[1]) store[15:8] <= wb_dat_i[15:8];
|
||||||
|
if (wb_sel_i[2]) store[23:16] <= wb_dat_i[23:16];
|
||||||
|
if (wb_sel_i[3]) store[31:24] <= wb_dat_i[31:24];
|
||||||
|
end
|
||||||
|
wb_dat_o <= store;
|
||||||
|
wb_ack_o <= valid & !wb_ack_o;
|
||||||
|
end
|
||||||
|
end
|
||||||
|
endmodule
|
Loading…
Reference in New Issue