|
发表于 2014-11-6 10:45:23
|
显示全部楼层
那个没有debug的。接口是这样:
- module CORTEXM0DS (
- // CLOCK AND RESETS ------------------
- input wire HCLK, // Clock
- input wire HRESETn, // Asynchronous reset
- // AHB-LITE MASTER PORT --------------
- output wire [31:0] HADDR, // AHB transaction address
- output wire [ 2:0] HBURST, // AHB burst: tied to single
- output wire HMASTLOCK, // AHB locked transfer (always zero)
- output wire [ 3:0] HPROT, // AHB protection: priv; data or inst
- output wire [ 2:0] HSIZE, // AHB size: byte, half-word or word
- output wire [ 1:0] HTRANS, // AHB transfer: non-sequential only
- output wire [31:0] HWDATA, // AHB write-data
- output wire HWRITE, // AHB write control
- input wire [31:0] HRDATA, // AHB read-data
- input wire HREADY, // AHB stall signal
- input wire HRESP, // AHB error response
- // MISCELLANEOUS ---------------------
- input wire NMI, // Non-maskable interrupt input
- input wire [15:0] IRQ, // Interrupt request inputs
- output wire TXEV, // Event output (SEV executed)
- input wire RXEV, // Event input
- output wire LOCKUP, // Core is locked-up
- output wire SYSRESETREQ, // System reset request
- // POWER MANAGEMENT ------------------
- output wire SLEEPING // Core and NVIC sleeping
- );
复制代码
里面代码是门级的,没有可读性。类似这样:
- assign S8a2z4 = (~(Dmh2z4[12] & K1wvx4));
- assign haddr_o[10] = (!Jxovx4);
- assign Jxovx4 = (Qea2z4 & Xea2z4);
- assign Xea2z4 = (~(Ykh2z4[9] & Mrsvx4));
- assign Qea2z4 = (Efa2z4 & Lfa2z4);
- assign Lfa2z4 = (~(Gzvvx4 & Hxnvx4));
- assign Hxnvx4 = (~(Sfa2z4 & Zfa2z4));
- assign Zfa2z4 = (~(Wadvx4 & Jj9wx4));
- assign Sfa2z4 = (Gga2z4 & Nga2z4);
- assign Nga2z4 = (~(Vb9wx4 & Uga2z4));
- assign Uga2z4 = (~(Bha2z4 & Iha2z4));
- assign Iha2z4 = (Pha2z4 & Wha2z4);
复制代码 |
|