pad.v
来自「多个Verilog和vhdl程序例子」· Verilog 代码 · 共 23 行
V
23 行
// This example shows one how to force the
// use of a particular pad type for lucent.
module adder(cout, sum, a, b, cin);
parameter size = 1; /* declare a parameter. default required */
output cout ;
output [size-1:0] sum; // sum uses the size parameter
input cin /* synthesis orca_padtype="IBT"*/;
input [size-1:0] a, b; // 'a' and 'b' use the size parameter
assign {cout, sum} = a + b + cin;
endmodule
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?