亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? reg_8_iorw_clrset.v

?? This build is for developing a "binary-to-BCD" converter for use in // displaying numerals in base-
?? V
字號:
// ----------------------------------------------------------------------------
// reg_8_iorw_clrset.v
// 
// AUTHOR         : John Clayton
// ----------------------------------------------------------------------------
// Release History
//   VERSION DATE        AUTHOR            DESCRIPTION
//   ------- ----------- ----------------- ------------------------------------
//   1.0     01/24/03    John Clayton      Initial Version
// ----------------------------------------------------------------------------
// PURPOSE: This module implements a set of eight addresses and a data bus of
//          the given width.  Outputs of the registers are provided, and separate
//          inputs are provided.  Each bit of the rd_i signal bus determines
//          whether the read contents are obtained from the input pins
//          (rdi[x] == high) or from the register outputs (rdi[x] == low.)
// ----------------------------------------------------------------------------
// Parameters
//   NAME                 RANGE    DESCRIPTION                DEFAULT
//   -------------------- -------- -------------------------- -----------------
//   SIZE_R0_PP           1..16    Number of bits in register   8
//   SIZE_R1_PP           1..16    Number of bits in register   8
//   SIZE_R2_PP           1..16    Number of bits in register   8
//   SIZE_R3_PP           1..16    Number of bits in register   8
//   SIZE_R4_PP           1..16    Number of bits in register   8
//   SIZE_R5_PP           1..16    Number of bits in register   8
//   SIZE_R6_PP           1..16    Number of bits in register   8
//   SIZE_R7_PP           1..16    Number of bits in register   8
//   DATA_BUS_SIZE_PP     4..24    Sets the width of the data bus 16
//
// ----------------------------------------------------------------------------
// USABILITY FACTORS
//   Reset Strategy   : Asynchronous
//   Clock Domains    : clk_i
//   Critical Timing  : None
//   Test Features    : None
//   Asynchronous I/F : None
//   Scan Methodology : None
//   Instantiations   : N/A
//   Other            : N/A
// ----------------------------------------------------------------------------
// NOTES
// 
// The address vector "adr_i" selects among the eight locations
// present in the module.  In order to read data from a register location, the
// we_i line must be inactive (low), and the "sel_i" signal must also be
// active (high.)  Then, the unit will drive the data bus.
//
// Writing is similar - drive we_i active (high), make sel_i high, drive the
// write data onto the data bus, and provide a "posedge clk_i" to store the
// data into the selected register.
//
// The registers are composed of d-flip-flops (DFFs), clocked by clk_i.
//
// An input signal, rd_i, allows for setting the number of read only locations.
// Raising a bit of rd_i has the effect of unselecting the internal storage for
// the corresponding register, and selecting the data coming into the unit on the
// input pins of the corresponding register.
//
// The multiplexing of input data can be made constant, or kept as a signal so
// that register locations can change their behavior dynamically.
//
// The registers can be set to all ones, or else cleared to all zeros by the
// set_i and clr_i input busses.  These signals, if raised to a logic high will
// change the contents of the register on the next rising clock edge.
// (synchronous set/clear operation.)
// This feature is especially useful for single bit registers which are used
// as flags to begin an operation, and which are subsequently cleared by the
// hardware.
//
// In the case where both set and clear are active at the same time, the clear
// input is given priority.  Also, the signals for set_i and clr_i are given
// priority over any attempted write operations from the bus.
//



module reg_8_iorw_clrset (
clk_i,
rst_i,
clr_i,
set_i,
sel_i,
we_i,
adr_i,
rd_i,
dat_io,
r0_i,
r1_i,
r2_i,
r3_i,
r4_i,
r5_i,
r6_i,
r7_i,
r0_o,
r1_o,
r2_o,
r3_o,
r4_o,
r5_o,
r6_o,
r7_o
);
// Parameter declarations

parameter SIZE_R0_PP = 8;         // Determines size of register in bits.
parameter SIZE_R1_PP = 8;         // Determines size of register in bits.
parameter SIZE_R2_PP = 8;         // Determines size of register in bits.
parameter SIZE_R3_PP = 8;         // Determines size of register in bits.
parameter SIZE_R4_PP = 8;         // Determines size of register in bits.
parameter SIZE_R5_PP = 8;         // Determines size of register in bits.
parameter SIZE_R6_PP = 8;         // Determines size of register in bits.
parameter SIZE_R7_PP = 8;         // Determines size of register in bits.
parameter DATA_BUS_SIZE_PP = 16;  // Sets the width of the data bus.

// I/O declarations
input clk_i;                      // System clock input
input rst_i;                      // Reset signal
input [7:0] clr_i;                // synchronous clear inputs
input [7:0] set_i;                // synchronous set inputs
input sel_i;                      // Reg block "chip select"
input we_i;                       // write enable signal
input [2:0] adr_i;                // Register address field
input [7:0] rd_i;                 // Each bit determines whether the corresponding
                                  // register is read or read/write.

inout [DATA_BUS_SIZE_PP-1:0] dat_io;  // data bus

input  [SIZE_R0_PP-1:0] r0_i;     // Register I
input  [SIZE_R1_PP-1:0] r1_i;     // Register I
input  [SIZE_R2_PP-1:0] r2_i;     // Register I
input  [SIZE_R3_PP-1:0] r3_i;     // Register I
input  [SIZE_R4_PP-1:0] r4_i;     // Register I
input  [SIZE_R5_PP-1:0] r5_i;     // Register I
input  [SIZE_R6_PP-1:0] r6_i;     // Register I
input  [SIZE_R7_PP-1:0] r7_i;     // Register I

output [SIZE_R0_PP-1:0] r0_o;     // Register O
output [SIZE_R1_PP-1:0] r1_o;     // Register O
output [SIZE_R2_PP-1:0] r2_o;     // Register O
output [SIZE_R3_PP-1:0] r3_o;     // Register O
output [SIZE_R4_PP-1:0] r4_o;     // Register O
output [SIZE_R5_PP-1:0] r5_o;     // Register O
output [SIZE_R6_PP-1:0] r6_o;     // Register O
output [SIZE_R7_PP-1:0] r7_o;     // Register O

// Internal declarations
wire   [SIZE_R0_PP-1:0] r0_local;
wire   [SIZE_R1_PP-1:0] r1_local;
wire   [SIZE_R2_PP-1:0] r2_local;
wire   [SIZE_R3_PP-1:0] r3_local;
wire   [SIZE_R4_PP-1:0] r4_local;
wire   [SIZE_R5_PP-1:0] r5_local;
wire   [SIZE_R6_PP-1:0] r6_local;
wire   [SIZE_R7_PP-1:0] r7_local;

//---------------------------------------------------------------


reg_8_io_clrset #(
             SIZE_R0_PP,        // Size of r0
             SIZE_R1_PP,        // Size of r1
             SIZE_R2_PP,        // Size of r2
             SIZE_R3_PP,        // Size of r3
             SIZE_R4_PP,        // Size of r4
             SIZE_R5_PP,        // Size of r5
             SIZE_R6_PP,        // Size of r6
             SIZE_R7_PP,        // Size of r7
             DATA_BUS_SIZE_PP   // Size of the data bus.
             )
  reg_8_packer                  // Instance name
  (
   .clk_i(clk_i),
   .rst_i(rst_i),
   .clr_i(clr_i),
   .set_i(set_i),
   .sel_i(sel_i),
   .we_i(we_i),
   .adr_i(adr_i),
   .dat_io(dat_io),
   .r0_i(r0_local),
   .r1_i(r1_local),
   .r2_i(r2_local),
   .r3_i(r3_local),
   .r4_i(r4_local),
   .r5_i(r5_local),
   .r6_i(r6_local),
   .r7_i(r7_local),
   .r0_o(r0_o),
   .r1_o(r1_o),
   .r2_o(r2_o),
   .r3_o(r3_o),
   .r4_o(r4_o),
   .r5_o(r5_o),
   .r6_o(r6_o),
   .r7_o(r7_o)
   );

// This is the input side of the register block
assign r0_local = (rd_i[0])?r0_i:r0_o;
assign r1_local = (rd_i[1])?r1_i:r1_o;
assign r2_local = (rd_i[2])?r2_i:r2_o;
assign r3_local = (rd_i[3])?r3_i:r3_o;
assign r4_local = (rd_i[4])?r4_i:r4_o;
assign r5_local = (rd_i[5])?r5_i:r5_o;
assign r6_local = (rd_i[6])?r6_i:r6_o;
assign r7_local = (rd_i[7])?r7_i:r7_o;

endmodule

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
天天操天天干天天综合网| av色综合久久天堂av综合| 国产一区二区三区四| 色婷婷狠狠综合| 欧美sm美女调教| 亚洲欧美偷拍另类a∨色屁股| 日韩和欧美的一区| 色综合天天做天天爱| 最近日韩中文字幕| 日本一道高清亚洲日美韩| a级高清视频欧美日韩| 欧美成人乱码一区二区三区| 亚洲男人的天堂在线观看| 国产精品系列在线播放| 91精品国产综合久久久蜜臀粉嫩| 成人欧美一区二区三区| 国产成人午夜电影网| 精品精品国产高清a毛片牛牛| 亚洲综合一区二区| 99久久精品免费看| 亚洲国产精品二十页| 狠狠色狠狠色综合系列| 91精品国产综合久久精品性色| 一区二区免费在线| 色偷偷成人一区二区三区91 | 久久久欧美精品sm网站 | 国产精品理论片在线观看| 久久精品国产免费| 91精品福利在线一区二区三区| 亚洲图片一区二区| 色久综合一二码| 亚洲激情综合网| 色综合久久久久网| 亚洲激情成人在线| 色婷婷国产精品| 一区二区三区在线播| 91久久一区二区| 亚洲精品久久久久久国产精华液| 色综合激情久久| 洋洋成人永久网站入口| 欧美视频你懂的| 同产精品九九九| 日韩欧美资源站| 狠狠色丁香久久婷婷综合丁香| 精品区一区二区| 国产成人精品一区二区三区四区| 欧美激情资源网| 99久久综合精品| 一区二区三区美女| 欧美人妇做爰xxxⅹ性高电影| 丝袜诱惑亚洲看片| 欧美草草影院在线视频| 国产a级毛片一区| 亚洲色图20p| 7777女厕盗摄久久久| 国产在线精品一区二区三区不卡| 久久蜜桃香蕉精品一区二区三区| 成人丝袜18视频在线观看| 日韩一区欧美一区| 欧美精品xxxxbbbb| 国产综合成人久久大片91| 国产精品蜜臀av| 欧美三片在线视频观看| 精品一区二区在线视频| 亚洲丝袜美腿综合| 日韩一区二区不卡| av在线免费不卡| 三级欧美在线一区| 国产亚洲精品中文字幕| 色噜噜久久综合| 精品一区二区免费视频| 综合中文字幕亚洲| 欧美va日韩va| 欧美在线视频不卡| 国产精品一区一区| 亚洲午夜在线观看视频在线| 欧美精品一区视频| 欧美色爱综合网| 大白屁股一区二区视频| 日本一不卡视频| 亚洲男女一区二区三区| 精品人在线二区三区| 欧美性色黄大片| 国产91丝袜在线18| 久久国产人妖系列| 亚洲资源中文字幕| 国产精品五月天| 欧美一级黄色片| 欧美天天综合网| av亚洲精华国产精华| 六月丁香综合在线视频| 亚洲电影你懂得| 亚洲同性gay激情无套| 久久亚洲捆绑美女| 日韩小视频在线观看专区| 在线观看三级视频欧美| 粉嫩13p一区二区三区| 久色婷婷小香蕉久久| 有坂深雪av一区二区精品| 国产日韩欧美高清| 精品久久人人做人人爰| 欧美日韩国产精选| 在线亚洲一区观看| 91丝袜高跟美女视频| 春色校园综合激情亚洲| 国产一区二区三区观看| 免费一级欧美片在线观看| 亚洲一区免费在线观看| 亚洲欧美另类在线| 中文字幕一区二区三区乱码在线| 国产亚洲成aⅴ人片在线观看| 欧美大尺度电影在线| 777久久久精品| 欧美一区二区三区色| 555www色欧美视频| 欧美精三区欧美精三区| 欧美日韩在线播放三区四区| 色狠狠色噜噜噜综合网| 色婷婷av一区| 日本道在线观看一区二区| 一本大道av一区二区在线播放| 色综合天天在线| 色视频成人在线观看免| 在线视频亚洲一区| 欧美一a一片一级一片| 欧美日韩欧美一区二区| 911精品国产一区二区在线| 欧美一级欧美三级| 欧美不卡视频一区| 国产欧美一区二区三区在线看蜜臀| 久久日韩精品一区二区五区| 欧美激情一区二区三区不卡| 国产精品久久三| 亚洲曰韩产成在线| 日韩高清一级片| 国产在线视视频有精品| 成人午夜激情影院| 欧美亚男人的天堂| 日韩欧美一二三四区| 久久精品在线观看| 亚洲欧美日本在线| 午夜精品影院在线观看| 国模大尺度一区二区三区| 成人黄色在线看| 精品视频全国免费看| 欧美成人精品福利| 亚洲特级片在线| 日韩vs国产vs欧美| 成人天堂资源www在线| 欧美日韩中文字幕一区| 337p粉嫩大胆色噜噜噜噜亚洲| 国产精品每日更新| 日本最新不卡在线| 成人免费毛片aaaaa**| 欧美性大战xxxxx久久久| 欧美tk丨vk视频| 亚洲精品国产无天堂网2021| 精品一区二区三区蜜桃| 91啪亚洲精品| 欧美大片一区二区三区| 亚洲丝袜精品丝袜在线| 久久电影网站中文字幕| 91啪在线观看| 久久久久久久综合狠狠综合| 亚洲国产裸拍裸体视频在线观看乱了| 九九国产精品视频| 欧美吻胸吃奶大尺度电影| 日本一区二区不卡视频| 奇米888四色在线精品| 91亚洲国产成人精品一区二区三| 91精品国产全国免费观看| 国产精品久久久久久久岛一牛影视| 日韩va欧美va亚洲va久久| 成人福利视频在线看| 欧美va亚洲va| 亚洲午夜精品17c| av一区二区三区在线| 欧美mv和日韩mv的网站| 天堂一区二区在线| 色妹子一区二区| 中文字幕va一区二区三区| 久久精品国产精品亚洲红杏| 91搞黄在线观看| 中文字幕一区二区5566日韩| 韩日欧美一区二区三区| 欧美久久一区二区| 亚洲一区二区欧美激情| 99国产精品视频免费观看| 久久免费视频色| 国内精品久久久久影院色 | 欧美tickling挠脚心丨vk| 亚洲午夜久久久久久久久久久| www.在线欧美| 中文字幕在线一区免费| 国产成人av影院| 久久久久国产精品厨房| 国产呦萝稀缺另类资源| 精品av综合导航| 国产一级精品在线| 26uuu精品一区二区三区四区在线|