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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? regs.v

?? 8位RISC CPU的VERILOG編程 SOURCECODE
?? V
字號:
/* ***********************************************************************  The Free IP Project  Free-RISC8 -- Verilog 8-bit Microcontroller  (c) 1999, The Free IP Project and Thomas Coonan  FREE IP GENERAL PUBLIC LICENSE  TERMS AND CONDITIONS FOR USE, COPYING, DISTRIBUTION, AND MODIFICATION  1.  You may copy and distribute verbatim copies of this core, as long      as this file, and the other associated files, remain intact and      unmodified.  Modifications are outlined below.    2.  You may use this core in any way, be it academic, commercial, or      military.  Modified or not.    3.  Distribution of this core must be free of charge.  Charging is      allowed only for value added services.  Value added services      would include copying fees, modifications, customizations, and      inclusion in other products.  4.  If a modified source code is distributed, the original unmodified      source code must also be included (or a link to the Free IP web      site).  In the modified source code there must be clear      identification of the modified version.  5.  Visit the Free IP web site for additional information.      http://www.free-ip.com*********************************************************************** */`define DEBUG_SHOWREADS`define DEBUG_SHOWWRITES// Memory Map://// PIC Data Memory addressing is complicated.  See the Data Book for full explanation..//// Basically, each BANK contains 32 locations.  The lowest 16 locations in ALL Banks// are really all mapped to the same bank (bank #0).  The first 8 locations are the Special// registers like the STATUS and PC registers.  The upper 16 words in each bank, really are// unique to each bank.  The smallest PIC (16C54) only has the one bank #0.//// So, as a programmer, what you get is this.  No matter what bank you are in (FSR[6:5])// you always have access to your special registers and also to registers 8-15.  You can// change to a 1 of 4 banks by setting FSR[6:5] and get 4 different sets of registers// 16-31.//////   bank location //     XX 00rrr  -  The special registers are not implemented in this register file.//     XX 01rrr  -  The 8 common words, just above the Special Regs, same for all Banks//     00 1rrrr  -  The 16 words unique to Bank #0//     01 1rrrr  -  The 16 words unique to Bank #1//     10 1rrrr  -  The 16 words unique to Bank #2//     11 1rrrr  -  The 16 words unique to Bank #3////  So, //     Special Regs are location[4:3] == 00//     Common Regs are  location[4:3] == 01//     Words in banks   location[4]   == 1// //  Remap to a new single memory space.  Remap in chunks of 8 words.  The PIC words//  will get remapped to the RAM in a contiguous manner.  The Common registers are//  mapped to the first 8 words of our RAM.  Next, each bank's words in the upper//  half of the bank are mapped to the RAM in a contiguous manner:////      PIC View        Our RAM//   bank location      Address//     00 01rrr  =>     0  -   7   (common words)//     00 10rrr  =>     8  -  15//     00 11rrr  =>    16  -  23//     01 01rrr  =>     0  -   7   (common words)//     01 10rrr  =>    24  -  31//     01 11rrr  =>    32  -  39//     10 01rrr  =>     0  -   7   (common words)//     10 10rrr  =>    40  -  47//     10 11rrr  =>    48  -  55//     11 01rrr  =>     0  -   7   (common words)//     11 10rrr  =>    56  -  63//     11 11rrr  =>    64  -  71 <-- last four locations are not implemented//// //module regs (clk, reset, we, re, bank, location, din, dout);input		clk;input		reset;input		we;input		re;input  [1:0]	bank;		// Bank 0,1,2,3input  [4:0]	location;	// Locationinput  [7:0]	din;		// Input output [7:0]	dout;		// Output // The top-level modulke, piccpu, is supposed to garuntee that re and we// are asserted for only valid locations.  So, we don't need to worry about// safely mapping invalid addresses.//reg [6:0]	final_address;// Instatiate the final memory model.//dram dram (   .clk		(clk),   .address	(final_address),   .we		(we),   .din		(din),   .dout	(dout));// The final_address is our remapped address.  This combinational logic// is performed immediate on the input address signals, before any latching.// This is because a WRITE doesn't use the latched values whereas the READ does.//always @(bank or location) begin   casex ({bank, location})      // First, let's handle the locations that all get mirrored back      // into the bank #0 words from 8-15.      //      7'b00_01XXX: final_address = {4'b0000, location[2:0]};      7'b01_01XXX: final_address = {4'b0000, location[2:0]};      7'b10_01XXX: final_address = {4'b0000, location[2:0]};      7'b11_01XXX: final_address = {4'b0000, location[2:0]};            // Now, handle words in the upper halves of each bank.      //      // Bank #0      7'b00_10XXX: final_address = {4'b0001, location[2:0]};      7'b00_11XXX: final_address = {4'b0010, location[2:0]};      // Bank #1      7'b01_10XXX: final_address = {4'b0011, location[2:0]};      7'b01_11XXX: final_address = {4'b0100, location[2:0]};            // Bank #2      7'b10_10XXX: final_address = {4'b0101, location[2:0]};      7'b10_11XXX: final_address = {4'b0110, location[2:0]};            // Bank #3      7'b11_10XXX: final_address = {4'b0111, location[2:0]};      7'b11_11XXX: final_address = {4'b1000, location[2:0]};            default:     final_address = {4'b0000, location[2:0]};   endcaseendendmodule

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
成人免费视频国产在线观看| 亚洲一区二区三区视频在线播放| 麻豆久久久久久| 日韩一区二区三区视频在线| 青青草伊人久久| 精品成人一区二区| 国产福利一区二区三区视频在线 | 欧美乱熟臀69xxxxxx| 午夜在线成人av| 欧美一级在线视频| 国产一区二区三区美女| 亚洲国产成人在线| 色综合一区二区三区| 亚洲一二三区视频在线观看| 欧美老肥妇做.爰bbww| 麻豆成人免费电影| 国产亚洲欧美一区在线观看| www.99精品| 日韩国产精品久久久| 精品国产第一区二区三区观看体验| 国产成人综合亚洲91猫咪| 亚洲天堂免费在线观看视频| 色欧美乱欧美15图片| 亚洲成人资源网| 国产色一区二区| 欧美视频在线不卡| 国内偷窥港台综合视频在线播放| 青草国产精品久久久久久| 精品少妇一区二区三区免费观看| 成人一区在线观看| 午夜精品影院在线观看| 久久影院电视剧免费观看| 色欧美88888久久久久久影院| 人妖欧美一区二区| 国产精品福利一区| 91精品国产丝袜白色高跟鞋| 国产精品一二三区在线| 亚洲国产一区二区三区青草影视| 欧美r级电影在线观看| 91精彩视频在线观看| 国产伦精一区二区三区| 亚洲国产美女搞黄色| 久久久久国产精品厨房| 欧美区一区二区三区| 国产999精品久久久久久| 日日噜噜夜夜狠狠视频欧美人| 久久久国产精品麻豆| 欧美伦理影视网| 97久久超碰国产精品| 国内精品视频一区二区三区八戒| 亚洲精品一卡二卡| 国产日韩欧美精品在线| 欧美一级片在线| 欧洲精品一区二区三区在线观看| 国产精品亚洲专一区二区三区| 午夜亚洲国产au精品一区二区| 国产精品全国免费观看高清| 欧美大白屁股肥臀xxxxxx| 色素色在线综合| 99久久综合狠狠综合久久| 韩国毛片一区二区三区| 日韩中文字幕一区二区三区| 亚洲美女一区二区三区| 国产精品欧美久久久久一区二区| 精品久久久久一区| 欧美男女性生活在线直播观看| 99国产精品99久久久久久| 国产一区二区在线影院| 九九**精品视频免费播放| 午夜精品福利一区二区三区蜜桃| 亚洲三级电影网站| 国产精品成人免费在线| 国产女主播一区| 久久久久国产精品厨房| 久久美女艺术照精彩视频福利播放| 91精品国产乱| 欧美二区三区的天堂| 欧美欧美欧美欧美首页| 欧美日韩一区三区| 欧美色偷偷大香| 欧美日韩国产综合一区二区| 欧美日韩高清在线| 欧美日韩亚洲综合一区| 欧美日韩精品系列| 7878成人国产在线观看| 在线播放国产精品二区一二区四区| 欧美特级限制片免费在线观看| 欧美综合色免费| 欧美中文字幕不卡| 欧美日本高清视频在线观看| 91精品国产综合久久香蕉的特点| 777a∨成人精品桃花网| 日韩精品最新网址| 久久蜜臀中文字幕| 日本一区二区在线不卡| 综合精品久久久| 亚洲伊人伊色伊影伊综合网| 婷婷六月综合亚洲| 久久www免费人成看片高清| 国产一区二区三区四区五区入口| 岛国一区二区三区| 91久久精品日日躁夜夜躁欧美| 欧美三级电影一区| 日韩免费高清电影| 欧美国产激情二区三区| 亚洲精品成人a在线观看| 丝袜a∨在线一区二区三区不卡| 青青草国产成人99久久| 成人网男人的天堂| 欧洲另类一二三四区| 欧美一区二区日韩| 亚洲国产精品国自产拍av| 一区二区免费视频| 另类人妖一区二区av| 成人高清av在线| 欧美日韩一级视频| 国产午夜精品福利| 亚洲成av人片www| 国产精品一级片在线观看| 色av一区二区| 欧美电影免费提供在线观看| 国产精品久久99| 奇米影视一区二区三区| 不卡一区在线观看| 91精品国产黑色紧身裤美女| 中文字幕精品一区二区三区精品| 亚洲乱码一区二区三区在线观看| 免费看黄色91| 日本乱码高清不卡字幕| 久久蜜桃av一区精品变态类天堂 | 56国语精品自产拍在线观看| 国产喂奶挤奶一区二区三区| 亚洲成人av一区二区三区| 国产·精品毛片| 日韩久久精品一区| 亚洲午夜在线观看视频在线| 高清在线不卡av| 日韩视频国产视频| 一区二区三区四区五区视频在线观看 | 88在线观看91蜜桃国自产| 日本一区二区三区视频视频| 日韩电影在线观看一区| 94-欧美-setu| 国产日韩欧美不卡在线| 日本91福利区| 欧美日韩国产一区二区三区地区| 亚洲欧美在线视频| 国产美女精品人人做人人爽| 欧美一区二区三区爱爱| 亚洲国产中文字幕在线视频综合| 国产v日产∨综合v精品视频| 欧美一级电影网站| 亚洲va欧美va人人爽午夜| 91在线观看美女| 国产精品乱人伦中文| 国产真实乱对白精彩久久| 91.com视频| 日韩成人一区二区三区在线观看| 91精品1区2区| 亚洲美女屁股眼交3| yourporn久久国产精品| 欧美激情资源网| 国产99一区视频免费| 国产欧美一区二区精品性色超碰 | 美国毛片一区二区三区| 7777精品伊人久久久大香线蕉 | 亚洲最新在线观看| 91亚洲大成网污www| 中文字幕在线播放不卡一区| 成人一区二区在线观看| 欧美极品美女视频| 成人激情免费视频| 中文字幕一区三区| 97超碰欧美中文字幕| 亚洲欧洲av色图| 色噜噜狠狠成人网p站| 亚洲综合视频在线观看| 欧美日韩一区在线观看| 三级精品在线观看| 欧美大度的电影原声| 国产一区二区三区免费| 国产日韩欧美一区二区三区乱码| 国产 欧美在线| 亚洲日本在线视频观看| 欧美综合一区二区三区| 日韩电影一区二区三区| 久久亚洲精品小早川怜子| 国产成人综合在线| 成人欧美一区二区三区黑人麻豆 | 亚洲免费视频中文字幕| 91福利视频网站| 午夜精品久久久久久久久久久| 欧美一区二区私人影院日本| 精品一二三四区| 亚洲视频一二区| 欧美人成免费网站| 国产一区在线观看麻豆| 亚洲人成伊人成综合网小说| 欧美日韩免费观看一区二区三区 | 久久99国产乱子伦精品免费|