Skip to content

Commit e96020f

Browse files
nekronosoharboe
authored andcommitted
mock-array: write verilog from floorplan
Signed-off-by: Vegard Strand Lende <[email protected]>
1 parent 775e112 commit e96020f

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

test/orfs/mock-array/BUILD

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,3 +99,23 @@ orfs_run(
9999
script = ":write_pin_placement.tcl",
100100
tags = ["manual"],
101101
)
102+
103+
[
104+
orfs_run(
105+
name = "{}_floorplan_verilog".format(module),
106+
src = ":{}_base_floorplan".format(module),
107+
outs = [
108+
"{}_floorplan.v".format(module),
109+
],
110+
arguments = {
111+
"OUTPUT": "$(location :{}_floorplan.v)".format(module),
112+
},
113+
script = ":write_verilog.tcl",
114+
tags = ["manual"],
115+
)
116+
for module in [
117+
"MockArray_4x4",
118+
"Element_4x4",
119+
]
120+
]
121+
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
source $::env(SCRIPTS_DIR)/open.tcl
2+
write_verilog $::env(OUTPUT)

0 commit comments

Comments
 (0)