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
81d3c57a
Commit
81d3c57a
authored
Jul 08, 2019
by
Eddie Hung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a few more tests for -widemux
parent
52ced6de
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
0 deletions
+24
-0
architecture/synth_xilinx_mux/run-test.sh
+24
-0
No files found.
architecture/synth_xilinx_mux/run-test.sh
View file @
81d3c57a
...
...
@@ -31,3 +31,27 @@ ${MAKE:-make} -f ../../../../tools/autotest.mk $seed *.v EXTRA_FLAGS="\
select -assert-any __test;
\
script -scriptwire __test/w:assert_area'
\
-l ../../../../../techlibs/xilinx/cells_sim.v"
# Spot tests for -widemux thresholds
set
+e
../../../../../yosys
-qp
"synth_xilinx -widemux 1"
2> /dev/null
if
[
$?
-eq
0
]
;
then
echo
"Expected error"
exit
1
fi
set
-e
../../../../../yosys
-qp
"synth_xilinx -widemux 5; select -assert-none t:MUXF*"
mux_if_bal_2_1.v
../../../../../yosys
-qp
"synth_xilinx -widemux 4; select -assert-none t:MUXF*"
mux_if_bal_2_1.v
../../../../../yosys
-qp
"synth_xilinx -widemux 3; select -assert-none t:MUXF*"
mux_if_bal_2_1.v
../../../../../yosys
-qp
"synth_xilinx -widemux 2; select -assert-count 1 t:MUXF7"
mux_if_bal_2_1.v
../../../../../yosys
-qp
"synth_xilinx -widemux 5; select -assert-none t:MUXF*"
mux_case_3_3.v
../../../../../yosys
-qp
"synth_xilinx -widemux 4; select -assert-none t:MUXF*"
mux_case_3_3.v
../../../../../yosys
-qp
"synth_xilinx -widemux 3; select -assert-count 6 t:MUXF*"
mux_case_3_3.v
../../../../../yosys
-qp
"synth_xilinx -widemux 2; select -assert-count 6 t:MUXF*"
mux_case_3_3.v
../../../../../yosys
-qp
"synth_xilinx -widemux 9; select -assert-none t:MUXF*"
mux_index_7_5.v
../../../../../yosys
-qp
"synth_xilinx -widemux 8; select -assert-none t:MUXF*"
mux_index_7_5.v
../../../../../yosys
-qp
"synth_xilinx -widemux 7; select -assert-count 15 t:MUXF*"
mux_index_7_5.v
../../../../../yosys
-qp
"synth_xilinx -widemux 6; select -assert-count 15 t:MUXF*"
mux_index_7_5.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