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
08feab0a
Commit
08feab0a
authored
Mar 14, 2020
by
Miodrag Milanovic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix arch tests
parent
e630e78b
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
28 additions
and
16 deletions
+28
-16
architecture/synth_coolrunner2/synth_coolrunner2.ys
+6
-4
architecture/synth_coolrunner2/synth_coolrunner2_noflatten.ys
+4
-2
architecture/synth_coolrunner2/synth_coolrunner2_retime.ys
+4
-2
architecture/synth_coolrunner2/synth_coolrunner2_run.ys
+4
-2
architecture/synth_coolrunner2/synth_coolrunner2_top.ys
+4
-2
architecture/synth_coolrunner2/synth_coolrunner2_vout.ys
+4
-2
architecture/synth_ice40/synth_ice40_nobram.ys
+1
-1
architecture/synth_intel/synth_intel_nobram.ys
+1
-1
No files found.
architecture/synth_coolrunner2/synth_coolrunner2.ys
View file @
08feab0a
...
@@ -8,11 +8,13 @@ proc
...
@@ -8,11 +8,13 @@ proc
equiv_opt -map +/coolrunner2/cells_sim.v synth_coolrunner2 # equivalency check
equiv_opt -map +/coolrunner2/cells_sim.v synth_coolrunner2 # equivalency check
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 dff # Constrain all select calls below inside the top module
cd dff # Constrain all select calls below inside the top module
stat
select -assert-count 2 t:ANDTERM
select -assert-count 1 t:FDCP
select -assert-count 1 t:FDCP
select -assert-count 2 t:IBUF
select -assert-count 2 t:IBUF
select -assert-count 1 t:IOBUFE
select -assert-count 1 t:IOBUFE
select -assert-none t:FDCP t:IBUF t:IOBUFE %% t:* %D
select -assert-count 1 t:MACROCELL_XOR
select -assert-none t:ANDTERM t:FDCP t:IBUF t:IOBUFE t:MACROCELL_XOR %% t:* %D
design -load read
design -load read
hierarchy -top dffe
hierarchy -top dffe
...
@@ -22,8 +24,8 @@ proc
...
@@ -22,8 +24,8 @@ proc
equiv_opt -map +/coolrunner2/cells_sim.v synth_coolrunner2 # equivalency check
equiv_opt -map +/coolrunner2/cells_sim.v synth_coolrunner2 # equivalency check
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 dffe # Constrain all select calls below inside the top module
cd dffe # Constrain all select calls below inside the top module
stat
select -assert-count
2
t:ANDTERM
select -assert-count
3
t:ANDTERM
select -assert-count 1 t:FDCP
select -assert-count 1 t:FDCP
select -assert-count 3 t:IBUF
select -assert-count 3 t:IBUF
select -assert-count 1 t:IOBUFE
select -assert-count 1 t:IOBUFE
...
...
architecture/synth_coolrunner2/synth_coolrunner2_noflatten.ys
View file @
08feab0a
...
@@ -9,10 +9,12 @@ equiv_opt -map +/coolrunner2/cells_sim.v synth_coolrunner2 # equivalency check
...
@@ -9,10 +9,12 @@ equiv_opt -map +/coolrunner2/cells_sim.v synth_coolrunner2 # equivalency check
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 dff # Constrain all select calls below inside the top module
cd dff # Constrain all select calls below inside the top module
select -assert-count 2 t:ANDTERM
select -assert-count 1 t:FDCP
select -assert-count 1 t:FDCP
select -assert-count 2 t:IBUF
select -assert-count 2 t:IBUF
select -assert-count 1 t:IOBUFE
select -assert-count 1 t:IOBUFE
select -assert-none t:FDCP t:IBUF t:IOBUFE %% t:* %D
select -assert-count 1 t:MACROCELL_XOR
select -assert-none t:ANDTERM t:FDCP t:IBUF t:IOBUFE t:MACROCELL_XOR %% t:* %D
design -load read
design -load read
hierarchy -top dffe
hierarchy -top dffe
...
@@ -23,7 +25,7 @@ equiv_opt -map +/coolrunner2/cells_sim.v synth_coolrunner2 # equivalency check
...
@@ -23,7 +25,7 @@ equiv_opt -map +/coolrunner2/cells_sim.v synth_coolrunner2 # equivalency check
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 dffe # Constrain all select calls below inside the top module
cd dffe # Constrain all select calls below inside the top module
select -assert-count
2
t:ANDTERM
select -assert-count
3
t:ANDTERM
select -assert-count 1 t:FDCP
select -assert-count 1 t:FDCP
select -assert-count 3 t:IBUF
select -assert-count 3 t:IBUF
select -assert-count 1 t:IOBUFE
select -assert-count 1 t:IOBUFE
...
...
architecture/synth_coolrunner2/synth_coolrunner2_retime.ys
View file @
08feab0a
...
@@ -9,10 +9,12 @@ equiv_opt -map +/coolrunner2/cells_sim.v synth_coolrunner2 # equivalency check
...
@@ -9,10 +9,12 @@ equiv_opt -map +/coolrunner2/cells_sim.v synth_coolrunner2 # equivalency check
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 dff # Constrain all select calls below inside the top module
cd dff # Constrain all select calls below inside the top module
select -assert-count 2 t:ANDTERM
select -assert-count 1 t:FDCP
select -assert-count 1 t:FDCP
select -assert-count 2 t:IBUF
select -assert-count 2 t:IBUF
select -assert-count 1 t:IOBUFE
select -assert-count 1 t:IOBUFE
select -assert-none t:FDCP t:IBUF t:IOBUFE %% t:* %D
select -assert-count 1 t:MACROCELL_XOR
select -assert-none t:ANDTERM t:FDCP t:IBUF t:IOBUFE t:MACROCELL_XOR %% t:* %D
design -load read
design -load read
hierarchy -top dffe
hierarchy -top dffe
...
@@ -23,7 +25,7 @@ equiv_opt -map +/coolrunner2/cells_sim.v synth_coolrunner2 # equivalency check
...
@@ -23,7 +25,7 @@ equiv_opt -map +/coolrunner2/cells_sim.v synth_coolrunner2 # equivalency check
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 dffe # Constrain all select calls below inside the top module
cd dffe # Constrain all select calls below inside the top module
select -assert-count
2
t:ANDTERM
select -assert-count
3
t:ANDTERM
select -assert-count 1 t:FDCP
select -assert-count 1 t:FDCP
select -assert-count 3 t:IBUF
select -assert-count 3 t:IBUF
select -assert-count 1 t:IOBUFE
select -assert-count 1 t:IOBUFE
...
...
architecture/synth_coolrunner2/synth_coolrunner2_run.ys
View file @
08feab0a
...
@@ -9,10 +9,12 @@ equiv_opt -map +/coolrunner2/cells_sim.v synth_coolrunner2 # equivalency check
...
@@ -9,10 +9,12 @@ equiv_opt -map +/coolrunner2/cells_sim.v synth_coolrunner2 # equivalency check
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 dff # Constrain all select calls below inside the top module
cd dff # Constrain all select calls below inside the top module
select -assert-count 2 t:ANDTERM
select -assert-count 1 t:FDCP
select -assert-count 1 t:FDCP
select -assert-count 2 t:IBUF
select -assert-count 2 t:IBUF
select -assert-count 1 t:IOBUFE
select -assert-count 1 t:IOBUFE
select -assert-none t:FDCP t:IBUF t:IOBUFE %% t:* %D
select -assert-count 1 t:MACROCELL_XOR
select -assert-none t:ANDTERM t:FDCP t:IBUF t:IOBUFE t:MACROCELL_XOR %% t:* %D
design -load read
design -load read
hierarchy -top dffe
hierarchy -top dffe
...
@@ -23,7 +25,7 @@ equiv_opt -map +/coolrunner2/cells_sim.v synth_coolrunner2 # equivalency check
...
@@ -23,7 +25,7 @@ equiv_opt -map +/coolrunner2/cells_sim.v synth_coolrunner2 # equivalency check
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 dffe # Constrain all select calls below inside the top module
cd dffe # Constrain all select calls below inside the top module
select -assert-count
2
t:ANDTERM
select -assert-count
3
t:ANDTERM
select -assert-count 1 t:FDCP
select -assert-count 1 t:FDCP
select -assert-count 3 t:IBUF
select -assert-count 3 t:IBUF
select -assert-count 1 t:IOBUFE
select -assert-count 1 t:IOBUFE
...
...
architecture/synth_coolrunner2/synth_coolrunner2_top.ys
View file @
08feab0a
...
@@ -9,10 +9,12 @@ equiv_opt -map +/coolrunner2/cells_sim.v synth_coolrunner2 # equivalency check
...
@@ -9,10 +9,12 @@ equiv_opt -map +/coolrunner2/cells_sim.v synth_coolrunner2 # equivalency check
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 dff # Constrain all select calls below inside the top module
cd dff # Constrain all select calls below inside the top module
select -assert-count 2 t:ANDTERM
select -assert-count 1 t:FDCP
select -assert-count 1 t:FDCP
select -assert-count 2 t:IBUF
select -assert-count 2 t:IBUF
select -assert-count 1 t:IOBUFE
select -assert-count 1 t:IOBUFE
select -assert-none t:FDCP t:IBUF t:IOBUFE %% t:* %D
select -assert-count 1 t:MACROCELL_XOR
select -assert-none t:ANDTERM t:FDCP t:IBUF t:IOBUFE t:MACROCELL_XOR %% t:* %D
design -load read
design -load read
hierarchy -top dffe
hierarchy -top dffe
...
@@ -23,7 +25,7 @@ equiv_opt -map +/coolrunner2/cells_sim.v synth_coolrunner2 # equivalency check
...
@@ -23,7 +25,7 @@ equiv_opt -map +/coolrunner2/cells_sim.v synth_coolrunner2 # equivalency check
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 dffe # Constrain all select calls below inside the top module
cd dffe # Constrain all select calls below inside the top module
select -assert-count
2
t:ANDTERM
select -assert-count
3
t:ANDTERM
select -assert-count 1 t:FDCP
select -assert-count 1 t:FDCP
select -assert-count 3 t:IBUF
select -assert-count 3 t:IBUF
select -assert-count 1 t:IOBUFE
select -assert-count 1 t:IOBUFE
...
...
architecture/synth_coolrunner2/synth_coolrunner2_vout.ys
View file @
08feab0a
...
@@ -9,10 +9,12 @@ equiv_opt -map +/coolrunner2/cells_sim.v synth_coolrunner2 # equivalency check
...
@@ -9,10 +9,12 @@ equiv_opt -map +/coolrunner2/cells_sim.v synth_coolrunner2 # equivalency check
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 dff # Constrain all select calls below inside the top module
cd dff # Constrain all select calls below inside the top module
select -assert-count 2 t:ANDTERM
select -assert-count 1 t:FDCP
select -assert-count 1 t:FDCP
select -assert-count 2 t:IBUF
select -assert-count 2 t:IBUF
select -assert-count 1 t:IOBUFE
select -assert-count 1 t:IOBUFE
select -assert-none t:FDCP t:IBUF t:IOBUFE %% t:* %D
select -assert-count 1 t:MACROCELL_XOR
select -assert-none t:ANDTERM t:FDCP t:IBUF t:IOBUFE t:MACROCELL_XOR %% t:* %D
design -load read
design -load read
hierarchy -top dffe
hierarchy -top dffe
...
@@ -23,7 +25,7 @@ equiv_opt -map +/coolrunner2/cells_sim.v synth_coolrunner2 # equivalency check
...
@@ -23,7 +25,7 @@ equiv_opt -map +/coolrunner2/cells_sim.v synth_coolrunner2 # equivalency check
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 dffe # Constrain all select calls below inside the top module
cd dffe # Constrain all select calls below inside the top module
select -assert-count
2
t:ANDTERM
select -assert-count
3
t:ANDTERM
select -assert-count 1 t:FDCP
select -assert-count 1 t:FDCP
select -assert-count 3 t:IBUF
select -assert-count 3 t:IBUF
select -assert-count 1 t:IOBUFE
select -assert-count 1 t:IOBUFE
...
...
architecture/synth_ice40/synth_ice40_nobram.ys
View file @
08feab0a
...
@@ -33,5 +33,5 @@ cd top
...
@@ -33,5 +33,5 @@ cd top
stat
stat
select -assert-count 6 t:SB_DFF
select -assert-count 6 t:SB_DFF
select -assert-count 384 t:SB_DFFE
select -assert-count 384 t:SB_DFFE
select -assert-count 37
2
t:SB_LUT4
select -assert-count 37
3
t:SB_LUT4
select -assert-none t:SB_DFF t:SB_DFFE t:SB_LUT4 %% t:* %D
select -assert-none t:SB_DFF t:SB_DFFE t:SB_LUT4 %% t:* %D
architecture/synth_intel/synth_intel_nobram.ys
View file @
08feab0a
...
@@ -35,5 +35,5 @@ synth_intel -nobram
...
@@ -35,5 +35,5 @@ synth_intel -nobram
#design -load postopt
#design -load postopt
cd top
cd top
select -assert-count 520 t:dffeas
select -assert-count 520 t:dffeas
select -assert-count 97
6
t:fiftyfivenm_lcell_comb
select -assert-count 97
7
t:fiftyfivenm_lcell_comb
select -assert-none t:dffeas t:fiftyfivenm_lcell_comb %% t:* %D
select -assert-none t:dffeas t:fiftyfivenm_lcell_comb %% 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