?? led_top3.v
字號(hào):
////////////////////////////////////////////////////////////////////////////////
// *****************************************************************************
// * RICHIC CONFIDENTIAL PROPRIETARY NOTE *
// * *
// * This software contains information confidential and proprietary to *
// * RicHic Inc.It shall not be reproduced in whole or in part or transferred *
// * to other documents, or disclosed to third parties, or used for any *
// * purpose other than that for which it was obtained, without the prior *
// * written consent of RicHic Inc. *
// * (c) 2003, 2004, 2005 RicHic Inc. *
// * All rights reserved *
/******************************************************************************/
// 這個(gè)示例中有一個(gè)明顯違反編程規(guī)范的地方請(qǐng)檢查!違反這個(gè)規(guī)范的結(jié)果請(qǐng)使用
// 開發(fā)系統(tǒng)進(jìn)行測(cè)試
module led_top3(
seg,
clk,
rst_n // synthesis attribute clock_buffer of rst_n is ibufg;
);
input clk;
input rst_n;
output [11:0] seg ;
wire [6 :0] led ;
wire [4 :0] segcode;
wire [3 :0] hex;
dynamic_hex3 dynamic_hex_inst(
.hex (hex),
.segcode(segcode),
.clk (clk ),
.rst_n (rst_n ),
.data (16'h1234),
.dot (4'b0000)
);
hex2led_common_cathode hex2led_inst (
.hex(hex),
.led(led)
) ;
led2seg led2seg_inst(
.seg (seg),
.led (led),
.segcode(segcode)
);
endmodule
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -