-
Notifications
You must be signed in to change notification settings - Fork 894
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
start splitting blackboxes and add wrapper techmap
- Loading branch information
Showing
9 changed files
with
66 additions
and
27 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
Empty file.
Empty file.
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,10 @@ | ||
(* blackbox *) | ||
module NX_GCK_U(SI1, SI2, CMD, SO); | ||
input CMD; | ||
input SI1; | ||
input SI2; | ||
output SO; | ||
parameter inv_in = 1'b0; | ||
parameter inv_out = 1'b0; | ||
parameter std_mode = "BYPASS"; | ||
endmodule |
Empty file.
Empty file.
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,34 @@ | ||
module NX_CKS_U(CKI, CMD, CKO); | ||
input CKI; | ||
output CKO; | ||
input CMD; | ||
|
||
NX_GCK_U #( | ||
.inv_in(1'b0), | ||
.inv_out(1'b0), | ||
.std_mode("CKS") | ||
) _TECHMAP_REPLACE_ ( | ||
.CMD(CMD), | ||
.SI1(CKI), | ||
.SI2(1'b0), | ||
.SO(CKO) | ||
); | ||
endmodule | ||
|
||
module NX_CMUX_U(CKI0, CKI1, SEL, CKO); | ||
input CKI0; | ||
input CKI1; | ||
output CKO; | ||
input SEL; | ||
|
||
NX_GCK_U #( | ||
.inv_in(1'b0), | ||
.inv_out(1'b0), | ||
.std_mode("MUX") | ||
) _TECHMAP_REPLACE_ ( | ||
.CMD(SEL), | ||
.SI1(CKI0), | ||
.SI2(CKI1), | ||
.SO(CKO) | ||
); | ||
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