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
6812a322
Commit
6812a322
authored
Aug 06, 2019
by
SergeyDegtyar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add tests for 'synth -abc9'
parent
e00da20f
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
2 deletions
+10
-2
simple/Makefile
+2
-2
simple/run.sh
+2
-0
simple/scripts/synth_abc9.ys
+3
-0
simple/scripts/synth_abc9_no_lut.ys
+3
-0
No files found.
simple/Makefile
View file @
6812a322
...
...
@@ -224,8 +224,8 @@ $(eval $(call template, prep, prep prep_top prep_auto_top prep_flatten prep_ifx
$(eval
$(call
template_error,
prep_error,
prep_error))
#synth
$(eval
$(call
template,
synth,
synth
synth_top
synth_auto_top
synth_encfile
synth_run
synth_run_full
synth_flatten
synth_lut
synth_nofsm
synth_noabc
synth_noabc_lut
synth_noalumacc
synth_nordff
synth_noshare))
$(eval
$(call
template_error,
synth_error,
synth_error))
$(eval
$(call
template,
synth,
synth
synth_top
synth_auto_top
synth_encfile
synth_run
synth_run_full
synth_flatten
synth_lut
synth_nofsm
synth_noabc
synth_noabc_lut
synth_noalumacc
synth_nordff
synth_noshare
synth_abc9
))
$(eval
$(call
template_error,
synth_error,
synth_error
synth_abc9_no_lut
))
#simplemap
$(eval
$(call
template,
simplemap,
simplemap
simplemap_top
simplemap_slice_concat))
...
...
simple/run.sh
View file @
6812a322
...
...
@@ -68,6 +68,8 @@ if echo "$1" | grep ".*_error"; then
expected_string
=
"ERROR: More than one module selected:"
elif
[
"
$2
"
=
"synth_error"
]
;
then
expected_string
=
"ERROR: This command only operates on fully selected designs!"
elif
[
"
$2
"
=
"synth_abc9_no_lut"
]
;
then
expected_string
=
"ERROR: ABC9 flow only supported for FPGA synthesis (using '-lut' option)"
elif
[
"
$2
"
=
"zinit_failed_to_handle"
]
;
then
expected_string
=
"ERROR: Failed to handle init bit"
fi
...
...
simple/scripts/synth_abc9.ys
0 → 100644
View file @
6812a322
read_verilog ../top.v
synth -abc9 -lut 5
write_verilog synth.v
simple/scripts/synth_abc9_no_lut.ys
0 → 100644
View file @
6812a322
read_verilog ../top.v
synth -abc9
write_verilog synth.v
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