summaryrefslogtreecommitdiff
path: root/instrmem/v0.1/parameters.h
blob: 4935dfc3f723f45958d5fea9f3eb1c723369e861 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
`ifndef PARAMETERS_H_
`define PARAMETERS_H_
// fpga4student.com 
// FPGA projects, VHDL projects, Verilog projects 
// Verilog code for RISC Processor 
// Parameter file
`define col 16 // 16 bits instruction memory, data memory
`define row_i 15 // instruction memory, instructions number, this number can be changed. Adding more instructions to verify your design is a good idea.
`define row_d 8 // The number of data in data memory. We only use 8 data. Do not change this number. You can change the value of each data inside test.data file. Total number is fixed at 8. 
`define filename "./test/50001111_50001212.o"
`define simulation_time #160

`endif