- Category:
- Other systems
- Tags:
-
- File Size:
- 1kb
- Update:
- 2018-01-07
- Downloads:
- 0 Times
- Uploaded by:
- 王大大
Description: module myAdder (a, b, out, cout, mode, clk, frq, clko
);
Input [3:0]a, b;
Input clk, mode; //1: adder; 0:sub
Input [1:0]frq;
Output [3:0]out;
Output cout, clko;
Clok instance_name
// INST_TAG_END ------ End INSTANTIATION Template ---------
Assign clko = frq > 1 ? CLK_OUT3 : (frq > 0)? CLK_OUT2 : CLK_OUT1;
myAdder your_instance_name (
);
// INST_TAG_END ------ End INSTANTIATION Template ---------
endmodule
To Search:
File list (Check if you may need any files):
Filename | Size | Date |
---|
LAB7\mysubadder.v | 874 | 2018-01-07
|
LAB7\PIN.ucf | 368 | 2018-01-07
|
LAB7\tb_mysubadder.v | 1198 | 2018-01-07
|
LAB7 | 0 | 2018-01-07 |