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
b1011147
Commit
b1011147
authored
Jan 08, 2020
by
Miodrag Milanovic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some failing tests
parent
1f84d9af
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
22 additions
and
25 deletions
+22
-25
architecture/synth_gowin/synth_gowin_nodram.ys
+1
-1
architecture/synth_xilinx/synth_xilinx_nodram.ys
+7
-7
architecture/synth_xilinx/synth_xilinx_nodsp.ys
+7
-9
architecture/synth_xilinx/synth_xilinx_nowidelut.ys
+5
-6
architecture/xilinx_ug901_synthesis_examples/xilinx_ug901_asym_ram_tdp_write_first.ys
+2
-2
No files found.
architecture/synth_gowin/synth_gowin_nodram.ys
View file @
b1011147
...
@@ -44,7 +44,7 @@ stat
...
@@ -44,7 +44,7 @@ stat
select -assert-count 520 t:DFF
select -assert-count 520 t:DFF
select -assert-count 16 t:IBUF
select -assert-count 16 t:IBUF
select -assert-count 592 t:LUT3
select -assert-count 592 t:LUT3
select -assert-min 98
7
t:LUT4
select -assert-min 98
3
t:LUT4
select -assert-count 464 t:MUX2_LUT5
select -assert-count 464 t:MUX2_LUT5
select -assert-count 184 t:MUX2_LUT6
select -assert-count 184 t:MUX2_LUT6
select -assert-count 64 t:MUX2_LUT7
select -assert-count 64 t:MUX2_LUT7
...
...
architecture/synth_xilinx/synth_xilinx_nodram.ys
View file @
b1011147
...
@@ -32,14 +32,14 @@ miter -equiv -flatten -make_assert -make_outputs gold gate miter
...
@@ -32,14 +32,14 @@ miter -equiv -flatten -make_assert -make_outputs gold gate miter
#sat -verify -prove-asserts -seq 3 -set-init-zero -show-inputs -show-outputs miter
#sat -verify -prove-asserts -seq 3 -set-init-zero -show-inputs -show-outputs miter
design -load postopt
design -load postopt
cd top
cd top
stat
select -assert-count 2 t:BUFG
select -assert-count 2 t:BUFG
select -assert-count 390 t:FDRE
select -assert-count 390 t:FDRE
select -assert-count 2 t:LUT2
select -assert-count 2 t:LUT2
select -assert-count 38
5
t:LUT3
select -assert-count 38
4
t:LUT3
select -assert-count
9
t:LUT4
select -assert-count
4
t:LUT4
select -assert-count
1
t:LUT5
select -assert-count
2
t:LUT5
select -assert-count 2
23
t:LUT6
select -assert-count 2
14
t:LUT6
select -assert-count
36
t:MUXF7
select -assert-count
27
t:MUXF7
select -assert-count
3
t:MUXF8
select -assert-count
1
t:MUXF8
select -assert-none t:BUFG t:FDRE t:LUT2 t:LUT3 t:LUT4 t:LUT5 t:LUT6 t:MUXF7 t:MUXF8 %% t:* %D
select -assert-none t:BUFG t:FDRE t:LUT2 t:LUT3 t:LUT4 t:LUT5 t:LUT6 t:MUXF7 t:MUXF8 %% t:* %D
architecture/synth_xilinx/synth_xilinx_nodsp.ys
View file @
b1011147
...
@@ -17,14 +17,12 @@ equiv_opt -assert -map +/xilinx/cells_sim.v synth_xilinx -nodsp -noiopad # equiv
...
@@ -17,14 +17,12 @@ 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)
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
cd top # Constrain all select calls below inside the top module
stat
stat
select -assert-count 1
4
t:LUT2
select -assert-count 1
7
t:LUT2
select -assert-count
4
t:LUT3
select -assert-count
1
t:LUT3
select -assert-count
4
t:LUT4
select -assert-count
2
t:LUT4
select -assert-count
4
t:LUT5
select -assert-count
2
t:LUT5
select -assert-count
43
t:LUT6
select -assert-count
38
t:LUT6
select -assert-count 11 t:MUXCY
select -assert-count 11 t:MUXCY
select -assert-count 7 t:MUXF7
select -assert-count 4 t:MUXF7
select -assert-count 2 t:MUXF8
select -assert-count 12 t:XORCY
select -assert-count 12 t:XORCY
select -assert-none t:LUT2 t:LUT3 t:LUT4 t:LUT5 t:LUT6 t:MUXCY t:MUXF7 t:MUXF8 t:XORCY %% t:* %D
select -assert-none t:LUT2 t:LUT3 t:LUT4 t:LUT5 t:LUT6 t:MUXCY t:MUXF7 t:XORCY %% t:* %D
architecture/synth_xilinx/synth_xilinx_nowidelut.ys
View file @
b1011147
...
@@ -24,12 +24,11 @@ equiv_opt -assert -map +/xilinx/cells_sim.v synth_xilinx -nodsp -nowidelut -noio
...
@@ -24,12 +24,11 @@ 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)
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
cd top # Constrain all select calls below inside the top module
stat
stat
select -assert-count 1
0
t:LUT2
select -assert-count 1
7
t:LUT2
select -assert-count
6
t:LUT3
select -assert-count
9
t:LUT3
select -assert-count
5
t:LUT4
select -assert-count
12
t:LUT4
select -assert-count
2
t:LUT5
select -assert-count
7
t:LUT5
select -assert-count
32
t:LUT6
select -assert-count
20
t:LUT6
select -assert-count 11 t:MUXCY
select -assert-count 11 t:MUXCY
select -assert-count 12 t:XORCY
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-none t:LUT2 t:LUT3 t:LUT4 t:LUT5 t:LUT6 t:MUXCY t:XORCY %% t:* %D
architecture/xilinx_ug901_synthesis_examples/xilinx_ug901_asym_ram_tdp_write_first.ys
View file @
b1011147
...
@@ -19,8 +19,8 @@ select -assert-count 2 t:BUFG
...
@@ -19,8 +19,8 @@ select -assert-count 2 t:BUFG
select -assert-count 200 t:FDRE
select -assert-count 200 t:FDRE
select -assert-count 15 t:LUT2
select -assert-count 15 t:LUT2
select -assert-count 68 t:LUT3
select -assert-count 68 t:LUT3
select -assert-count
4
t:LUT4
select -assert-count
5
t:LUT4
select -assert-count 8
8
t:LUT5
select -assert-count 8
7
t:LUT5
select -assert-count 716 t:LUT6
select -assert-count 716 t:LUT6
select -assert-count 328 t:MUXF7
select -assert-count 328 t:MUXF7
select -assert-count 148 t:MUXF8
select -assert-count 148 t:MUXF8
...
...
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