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
e0ace89f
Commit
e0ace89f
authored
Jan 14, 2020
by
Miodrag Milanovic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix failing tests
parent
9a201971
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
23 additions
and
28 deletions
+23
-28
architecture/synth_xilinx/synth_xilinx_nocarry.ys
+2
-3
architecture/synth_xilinx/synth_xilinx_nodsp.ys
+2
-3
architecture/synth_xilinx/synth_xilinx_nowidelut.ys
+9
-11
architecture/xilinx_ug901_synthesis_examples/xilinx_ug901_dynpreaddmultadd.ys
+3
-3
architecture/xilinx_ug901_synthesis_examples/xilinx_ug901_rams_sp_rf_rst.ys
+2
-2
architecture/xilinx_ug901_synthesis_examples/xilinx_ug901_rams_sp_wf.ys
+3
-3
architecture/xilinx_ug901_synthesis_examples/xilinx_ug901_squarediffmult.ys
+2
-3
No files found.
architecture/synth_xilinx/synth_xilinx_nocarry.ys
View file @
e0ace89f
...
...
@@ -10,9 +10,8 @@ stat
select -assert-count 1 t:LUT2
select -assert-count 3 t:LUT4
select -assert-count 4 t:LUT6
select -assert-count 5 t:MUXCY
select -assert-count 6 t:XORCY
select -assert-none t:LUT2 t:LUT4 t:LUT6 t:MUXCY t:XORCY %% t:* %D
select -assert-count 2 t:CARRY4
select -assert-none t:LUT2 t:LUT4 t:LUT6 t:CARRY4 %% t:* %D
design -load read
hierarchy -top top
...
...
architecture/synth_xilinx/synth_xilinx_nodsp.ys
View file @
e0ace89f
...
...
@@ -17,12 +17,11 @@ equiv_opt -assert -map +/xilinx/cells_sim.v synth_xilinx -nodsp -noiopad # equiv
design -load postopt # load the post-opt design (otherwise equiv_opt loads the pre-opt design)
cd top # Constrain all select calls below inside the top module
stat
select -assert-count 3 t:CARRY4
select -assert-count 17 t:LUT2
select -assert-count 1 t:LUT3
select -assert-count 2 t:LUT4
select -assert-count 2 t:LUT5
select -assert-count 38 t:LUT6
select -assert-count 11 t:MUXCY
select -assert-count 4 t:MUXF7
select -assert-count 12 t:XORCY
select -assert-none t:LUT2 t:LUT3 t:LUT4 t:LUT5 t:LUT6 t:MUXCY t:MUXF7 t:XORCY %% t:* %D
select -assert-none t:LUT2 t:LUT3 t:LUT4 t:LUT5 t:LUT6 t:MUXF7 t:CARRY4 %% t:* %D
architecture/synth_xilinx/synth_xilinx_nowidelut.ys
View file @
e0ace89f
...
...
@@ -12,10 +12,9 @@ select -assert-count 1 t:LUT3
select -assert-count 6 t:LUT4
select -assert-count 1 t:LUT5
select -assert-count 33 t:LUT6
select -assert-count
11 t:MUXCY
select -assert-count
3 t:CARRY4
select -assert-count 1 t:MUXF7
select -assert-count 12 t:XORCY
select -assert-none t:LUT2 t:LUT3 t:LUT4 t:LUT5 t:LUT6 t:MUXCY t:MUXF7 t:XORCY %% t:* %D
select -assert-none t:LUT2 t:LUT3 t:LUT4 t:LUT5 t:LUT6 t:CARRY4 t:MUXF7 %% t:* %D
design -load read
hierarchy -top top
...
...
@@ -24,11 +23,10 @@ equiv_opt -assert -map +/xilinx/cells_sim.v synth_xilinx -nodsp -nowidelut -noio
design -load postopt # load the post-opt design (otherwise equiv_opt loads the pre-opt design)
cd top # Constrain all select calls below inside the top module
stat
select -assert-count 17 t:LUT2
select -assert-count 9 t:LUT3
select -assert-count 12 t:LUT4
select -assert-count 7 t:LUT5
select -assert-count 20 t:LUT6
select -assert-count 11 t:MUXCY
select -assert-count 12 t:XORCY
select -assert-none t:LUT2 t:LUT3 t:LUT4 t:LUT5 t:LUT6 t:MUXCY t:XORCY %% t:* %D
select -assert-count 11 t:LUT2
select -assert-count 3 t:LUT3
select -assert-count 7 t:LUT4
select -assert-count 2 t:LUT5
select -assert-count 31 t:LUT6
select -assert-count 3 t:CARRY4
select -assert-none t:LUT2 t:LUT3 t:LUT4 t:LUT5 t:LUT6 t:CARRY4 %% t:* %D
architecture/xilinx_ug901_synthesis_examples/xilinx_ug901_dynpreaddmultadd.ys
View file @
e0ace89f
...
...
@@ -14,12 +14,12 @@ miter -equiv -flatten -make_assert -make_outputs gold gate miter
design -load postopt
cd dynpreaddmultadd
#Vivado synthesizes 1 DSP48E1.
stat
select -assert-count 1 t:BUFG
select -assert-count 16 t:FDRE
select -assert-count 1 t:DSP48E1
select -assert-count 32 t:LUT2
select -assert-count 9 t:LUT3
select -assert-count 16 t:MUXCY
select -assert-count 18 t:XORCY
select -assert-count 6 t:CARRY4
select -assert-none t:BUFG t:FDRE t:DSP48E1 t:LUT2 t:LUT3 t:
MUXCY t:XORCY
%% t:* %D
select -assert-none t:BUFG t:FDRE t:DSP48E1 t:LUT2 t:LUT3 t:
CARRY4
%% t:* %D
architecture/xilinx_ug901_synthesis_examples/xilinx_ug901_rams_sp_rf_rst.ys
View file @
e0ace89f
...
...
@@ -20,8 +20,8 @@ select -assert-count 1 t:BUFG
select -assert-count 16 t:FDRE
select -assert-count 5 t:LUT2
select -assert-count 4 t:LUT3
select -assert-count 1
1
t:LUT4
select -assert-count 2
5
t:LUT5
select -assert-count 1
2
t:LUT4
select -assert-count 2
4
t:LUT5
select -assert-count 32 t:LUT6
select -assert-count 128 t:RAM128X1D
...
...
architecture/xilinx_ug901_synthesis_examples/xilinx_ug901_rams_sp_wf.ys
View file @
e0ace89f
...
...
@@ -20,9 +20,9 @@ select -assert-count 1 t:BUFG
select -assert-count 16 t:FDRE
select -assert-count 1 t:LUT2
select -assert-count 8 t:LUT4
select -assert-count
36
t:LUT5
select -assert-count 3
8
t:LUT6
select -assert-count 1
0
t:MUXF7
select -assert-count
40
t:LUT5
select -assert-count 3
6
t:LUT6
select -assert-count 1
2
t:MUXF7
select -assert-count 128 t:RAM128X1D
select -assert-none t:BUFG t:FDRE t:LUT2 t:LUT4 t:LUT5 t:LUT6 t:MUXF7 t:RAM128X1D %% t:* %D
architecture/xilinx_ug901_synthesis_examples/xilinx_ug901_squarediffmult.ys
View file @
e0ace89f
...
...
@@ -19,7 +19,6 @@ select -assert-count 1 t:BUFG
select -assert-count 1 t:DSP48E1
select -assert-count 32 t:FDRE
select -assert-count 32 t:LUT2
select -assert-count 16 t:MUXCY
select -assert-count 17 t:XORCY
select -assert-count 5 t:CARRY4
select -assert-none t:BUFG t:DSP48E1 t:FDRE t:LUT2 t:
MUXCY t:XORCY
%% t:* %D
select -assert-none t:BUFG t:DSP48E1 t:FDRE t:LUT2 t:
CARRY4
%% t:* %D
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