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
c7aecef2
Commit
c7aecef2
authored
Aug 23, 2019
by
Eddie Hung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add some rotation SRL tests
parent
00d9e1ba
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
0 deletions
+28
-0
architecture/synth_xilinx_srl/rotate_3.v
+14
-0
architecture/synth_xilinx_srl/rotate_3_var_len.v
+14
-0
No files found.
architecture/synth_xilinx_srl/rotate_3.v
0 → 100644
View file @
c7aecef2
(
*
top
*
)
module
rotate_3
(
input
clk
,
output
q
)
;
reg
[
2
:
0
]
r
;
initial
r
=
3'b101
;
always
@
(
posedge
clk
)
r
<=
{
r
[
1
:
0
]
,
r
[
2
]
};
assign
q
=
r
[
2
]
;
endmodule
`ifndef
_
AUTOTB
module
__
test
;
wire
[
4095
:
0
]
assert_area
=
"cd rotate_3; select t:SRL* -assert-count 1; select t:FD* -assert-none"
;
endmodule
`endif
architecture/synth_xilinx_srl/rotate_3_var_len.v
0 → 100644
View file @
c7aecef2
(
*
top
*
)
module
rotate_3_var_len
(
input
clk
,
input
[
1
:
0
]
l
,
output
q
)
;
reg
[
2
:
0
]
r
;
initial
r
=
3'b101
;
always
@
(
posedge
clk
)
r
<=
{
r
[
1
:
0
]
,
r
[
2
]
};
assign
q
=
r
[
l
]
;
endmodule
`ifndef
_
AUTOTB
module
__
test
;
wire
[
4095
:
0
]
assert_area
=
"cd rotate_3_var_len; select t:SRL* -assert-count 0; select t:FD* -assert-count 3"
;
endmodule
`endif
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