-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nox session for downloading and packaging fusesoc library
repos created, packaged into tar, CI job added for both GH and GL expanded parse and build to be able to parse $clog2, added tests for both some files are allowed to fail - tests matched with lists defined in code remaining errors cannot probably be fixed, most seem to be core errors implemented log_level as a click option - problems documented in issue Internal-tag: [#47400] Signed-off-by: gkierzkowski <gkierzkowski@internships.antmicro.com>
- Loading branch information
1 parent
68a1e7b
commit 8a337a2
Showing
19 changed files
with
399 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Copyright (c) 2023-2024 Antmicro <www.antmicro.com> | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
ips: | ||
core1: | ||
file: clog2_tester.yaml | ||
design: | ||
name: top | ||
ports: | ||
core1: | ||
i_clk: PORT_CLK | ||
i_waddr: PORT_VEC_IN | ||
o_waddr: PORT_VEC_OUT | ||
|
||
external: | ||
ports: | ||
in: | ||
- PORT_CLK | ||
- PORT_VEC_IN | ||
out: | ||
- PORT_VEC_OUT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Copyright (c) 2023-2024 Antmicro <www.antmicro.com> | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
ips: | ||
core1: | ||
file: clog2_tester2.yaml | ||
design: | ||
name: top | ||
ports: | ||
core1: | ||
i_clk: PORT_CLK | ||
i_waddr: PORT_VEC_IN | ||
o_waddr: PORT_VEC_OUT | ||
|
||
external: | ||
ports: | ||
in: | ||
- PORT_CLK | ||
- PORT_VEC_IN | ||
out: | ||
- PORT_VEC_OUT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
module clog2_tester | ||
#(parameter w=1, | ||
parameter p4=4, | ||
parameter depth=32*(32+p4)/w) | ||
(input wire i_clk, | ||
input wire [$clog2(depth)-1:0] i_waddr, | ||
output wire [$clog2(depth)-1:0] o_waddr | ||
); | ||
|
||
always @(posedge i_clk) begin | ||
o_waddr <= i_waddr; | ||
end | ||
|
||
endmodule |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: clog2_tester | ||
parameters: | ||
depth: ((32*(32+p4))/w) | ||
p4: 4 | ||
w: 1 | ||
signals: | ||
in: | ||
- i_clk | ||
- - i_waddr | ||
- (clog2(depth)-1) | ||
- 0 | ||
out: | ||
- - o_waddr | ||
- (clog2(depth)-1) | ||
- 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
module clog2_tester | ||
#(parameter w=1, | ||
parameter p4=4, | ||
parameter depth=32*(32+p4)/w) | ||
(input wire i_clk, | ||
input wire [$clog2(depth*2)-2:0] i_waddr, | ||
output wire [$clog2(depth*2)-2:0] o_waddr | ||
); | ||
|
||
always @(posedge i_clk) begin | ||
o_waddr <= i_waddr; | ||
end | ||
|
||
endmodule |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: clog2_tester | ||
parameters: | ||
depth: ((32*(32+p4))/w) | ||
p4: 4 | ||
w: 1 | ||
signals: | ||
in: | ||
- i_clk | ||
- - i_waddr | ||
- (clog2(depth*2)-2) | ||
- 0 | ||
out: | ||
- - o_waddr | ||
- (clog2(depth*2)-2) | ||
- 0 |
Oops, something went wrong.