jtag_cores.v

Sun, 06 Mar 2011 19:31:09 +0000

author
Philip Pemberton <philpem@philpem.me.uk>
date
Sun, 06 Mar 2011 19:31:09 +0000
changeset 14
54dd95f89113
parent 0
cd0b58aa6f83
child 15
27f96ec74b85
permissions
-rwxr-xr-x

Clean up LM32 sources and enable debugging. Remove monitor ROM.

Original-Author: lekernel
Original-Source: milkymist 2dc88f973cfdd7ad5aa4

philpem@14 1 // TODO
philpem@0 2
philpem@14 3 module jtag_cores (
philpem@0 4 // ----- Inputs -------
philpem@0 5 reg_d,
philpem@0 6 reg_addr_d,
philpem@0 7 // ----- Outputs -------
philpem@0 8 reg_update,
philpem@0 9 reg_q,
philpem@0 10 reg_addr_q,
philpem@0 11 jtck,
philpem@0 12 jrstn
philpem@14 13 );
philpem@0 14
philpem@0 15 input [7:0] reg_d;
philpem@0 16 input [2:0] reg_addr_d;
philpem@0 17
philpem@0 18 output reg_update;
philpem@0 19 wire reg_update;
philpem@0 20 output [7:0] reg_q;
philpem@0 21 wire [7:0] reg_q;
philpem@0 22 output [2:0] reg_addr_q;
philpem@0 23 wire [2:0] reg_addr_q;
philpem@0 24
philpem@0 25 output jtck;
philpem@14 26 wire jtck;
philpem@0 27 output jrstn;
philpem@14 28 wire jrstn;
philpem@0 29
philpem@14 30 assign reg_d = 8'hxx;
philpem@14 31 assign reg_addr_d = 3'bxxx;
philpem@14 32 assign reg_update = 1'b0;
philpem@14 33 assign reg_q = 8'hxx;
philpem@14 34 assign reg_addr_q = 3'bxxx;
philpem@14 35 assign jtck = 1'b0;
philpem@14 36 assign jrstn = 1'b1;
philpem@0 37
philpem@0 38 endmodule