Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yosys-tests
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
yosys-tests
Commits
8501c415
Commit
8501c415
authored
Feb 07, 2020
by
Eddie Hung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bigsim: enable -retime and -dff options too
parent
fd707de0
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
3 deletions
+19
-3
bigsim/Makefile
+3
-3
bigsim/run.sh
+16
-0
No files found.
bigsim/Makefile
View file @
8501c415
...
...
@@ -21,11 +21,11 @@ $(1)/.stamp_%: $(1)/.stamp_sim
clean
::
rm
-rf
$
(
1
)
/.stamp_
*
$
(
1
)
/work_
*
rm
-f
$
(
1
)
_
{
cmos,ice40,falsify,ecp5,xilinx
}{
,_
abc9
}
.status
rm
-f
$
(
1
)
_
{
cmos,ice40,falsify,ecp5,xilinx
}{
,_
retime,_abc9,_abc9_dff
}
.status
endef
$(eval
$(call
template,navre,cmos
ice40
ice40_
abc9
ecp5
ecp5_abc9
xilinx
xilinx_abc9
))
$(eval
$(call
template,navre,cmos
ice40
ice40_
retime
ice40_abc9
ecp5
ecp5_retime
ecp5_abc9
xilinx
xilinx_retime
xilinx_abc9
xilinx_abc9_dff
))
ifeq
($(ENABLE_HEAVY_TESTS),1)
$(eval
$(call
template,picorv32,cmos
ice40
ice40_
abc9
ecp5
ecp5_abc9
xilinx
xilinx_abc9
))
$(eval
$(call
template,picorv32,cmos
ice40
ice40_
retime
ice40_abc9
ecp5
ecp5_retime
ecp5_abc9
xilinx
xilinx_retime
xilinx_abc9
xilinx_abc9_dff
))
endif
.PHONY
:
all clean
bigsim/run.sh
View file @
8501c415
...
...
@@ -36,6 +36,10 @@ case "$2" in
yosys
-ql
synthlog.txt
-p
"
$PRESYN
; synth_ice40 -top
$TOP
; write_verilog synth.v"
$rtl_files
iverilog_cmd
=
"
$iverilog_cmd
synth.v
$TECHLIBS_PREFIX
/ice40/cells_sim.v"
;;
ice40_retime
)
yosys
-ql
synthlog.txt
-p
"
$PRESYN
; synth_ice40 -retime -top
$TOP
; write_verilog synth.v"
$rtl_files
iverilog_cmd
=
"
$iverilog_cmd
synth.v
$TECHLIBS_PREFIX
/ice40/cells_sim.v"
;;
ice40_abc9
)
yosys
-ql
synthlog.txt
-p
"
$PRESYN
; synth_ice40 -abc9 -top
$TOP
; write_verilog synth.v"
$rtl_files
iverilog_cmd
=
"
$iverilog_cmd
synth.v
$TECHLIBS_PREFIX
/ice40/cells_sim.v"
...
...
@@ -44,6 +48,10 @@ case "$2" in
yosys
-ql
synthlog.txt
-p
"
$PRESYN
; synth_ecp5 -top
$TOP
; write_verilog synth.v"
$rtl_files
iverilog_cmd
=
"
$iverilog_cmd
synth.v
$TECHLIBS_PREFIX
/ecp5/cells_sim.v -I
$TECHLIBS_PREFIX
/ecp5"
;;
ecp5_retime
)
yosys
-ql
synthlog.txt
-p
"
$PRESYN
; synth_ecp5 -retime -top
$TOP
; write_verilog synth.v"
$rtl_files
iverilog_cmd
=
"
$iverilog_cmd
synth.v
$TECHLIBS_PREFIX
/ecp5/cells_sim.v -I
$TECHLIBS_PREFIX
/ecp5"
;;
ecp5_abc9
)
yosys
-ql
synthlog.txt
-p
"
$PRESYN
; synth_ecp5 -abc9 -top
$TOP
; write_verilog synth.v"
$rtl_files
iverilog_cmd
=
"
$iverilog_cmd
synth.v
$TECHLIBS_PREFIX
/ecp5/cells_sim.v -I
$TECHLIBS_PREFIX
/ecp5"
...
...
@@ -52,10 +60,18 @@ case "$2" in
yosys
-ql
synthlog.txt
-p
"
$PRESYN
; synth_xilinx -top
$TOP
; write_verilog synth.v"
$rtl_files
iverilog_cmd
=
"
$iverilog_cmd
synth.v
$TECHLIBS_PREFIX
/xilinx/cells_sim.v"
;;
xilinx_retime
)
yosys
-ql
synthlog.txt
-p
"
$PRESYN
; synth_xilinx -retime -top
$TOP
; write_verilog synth.v"
$rtl_files
iverilog_cmd
=
"
$iverilog_cmd
synth.v
$TECHLIBS_PREFIX
/xilinx/cells_sim.v"
;;
xilinx_abc9
)
yosys
-ql
synthlog.txt
-p
"
$PRESYN
; synth_xilinx -abc9 -top
$TOP
; write_verilog synth.v"
$rtl_files
iverilog_cmd
=
"
$iverilog_cmd
synth.v
$TECHLIBS_PREFIX
/xilinx/cells_sim.v"
;;
xilinx_abc9_dff
)
yosys
-ql
synthlog.txt
-p
"
$PRESYN
; synth_xilinx -abc9 -dff -top
$TOP
; write_verilog synth.v"
$rtl_files
iverilog_cmd
=
"
$iverilog_cmd
synth.v
$TECHLIBS_PREFIX
/xilinx/cells_sim.v"
;;
*
)
exit
1
;;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment