mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-11 06:05:49 +00:00
Oups missed files in the last commit.
This commit is contained in:
parent
21b13fc237
commit
6d2a4b8354
@ -41,7 +41,7 @@ set_property -dict [list CONFIG.C0.ControllerType {DDR4_SDRAM} \
|
|||||||
CONFIG.C0.DDR4_CLKOUT0_DIVIDE {6} \
|
CONFIG.C0.DDR4_CLKOUT0_DIVIDE {6} \
|
||||||
CONFIG.Reference_Clock {Differential} \
|
CONFIG.Reference_Clock {Differential} \
|
||||||
CONFIG.ADDN_UI_CLKOUT1.INSERT_VIP {0} \
|
CONFIG.ADDN_UI_CLKOUT1.INSERT_VIP {0} \
|
||||||
CONFIG.ADDN_UI_CLKOUT1_FREQ_HZ {23} \
|
CONFIG.ADDN_UI_CLKOUT1_FREQ_HZ {10} \
|
||||||
CONFIG.ADDN_UI_CLKOUT2.INSERT_VIP {0} \
|
CONFIG.ADDN_UI_CLKOUT2.INSERT_VIP {0} \
|
||||||
CONFIG.ADDN_UI_CLKOUT2_FREQ_HZ {208} \
|
CONFIG.ADDN_UI_CLKOUT2_FREQ_HZ {208} \
|
||||||
CONFIG.ADDN_UI_CLKOUT3.INSERT_VIP {0} \
|
CONFIG.ADDN_UI_CLKOUT3.INSERT_VIP {0} \
|
||||||
|
10
wally-pipelined/src/cache/icache.sv
vendored
10
wally-pipelined/src/cache/icache.sv
vendored
@ -36,11 +36,11 @@ module icache
|
|||||||
input logic ExceptionM, PendingInterruptM,
|
input logic ExceptionM, PendingInterruptM,
|
||||||
|
|
||||||
// Data read in from the ebu unit
|
// Data read in from the ebu unit
|
||||||
input logic [`XLEN-1:0] InstrInF,
|
(* mark_debug = "true" *) input logic [`XLEN-1:0] InstrInF,
|
||||||
input logic InstrAckF,
|
(* mark_debug = "true" *) input logic InstrAckF,
|
||||||
// Read requested from the ebu unit
|
// Read requested from the ebu unit
|
||||||
output logic [`PA_BITS-1:0] InstrPAdrF,
|
(* mark_debug = "true" *) output logic [`PA_BITS-1:0] InstrPAdrF,
|
||||||
output logic InstrReadF,
|
(* mark_debug = "true" *) output logic InstrReadF,
|
||||||
// High if the instruction currently in the fetch stage is compressed
|
// High if the instruction currently in the fetch stage is compressed
|
||||||
output logic CompressedF,
|
output logic CompressedF,
|
||||||
// High if the icache is requesting a stall
|
// High if the icache is requesting a stall
|
||||||
@ -52,7 +52,7 @@ module icache
|
|||||||
|
|
||||||
// The raw (not decompressed) instruction that was requested
|
// The raw (not decompressed) instruction that was requested
|
||||||
// If this instruction is compressed, upper 16 bits may be the next 16 bits or may be zeros
|
// If this instruction is compressed, upper 16 bits may be the next 16 bits or may be zeros
|
||||||
output logic [31:0] FinalInstrRawF
|
(* mark_debug = "true" *) output logic [31:0] FinalInstrRawF
|
||||||
);
|
);
|
||||||
|
|
||||||
// Configuration parameters
|
// Configuration parameters
|
||||||
|
@ -138,7 +138,7 @@ module uartPC16550D(
|
|||||||
LSR <= #1 8'b01100000;
|
LSR <= #1 8'b01100000;
|
||||||
MSR <= #1 4'b0;
|
MSR <= #1 4'b0;
|
||||||
if (`FPGA) begin
|
if (`FPGA) begin
|
||||||
DLL <= #1 8'd25;
|
DLL <= #1 8'd11;
|
||||||
DLM <= #1 8'b0;
|
DLM <= #1 8'b0;
|
||||||
end else begin
|
end else begin
|
||||||
DLL <= #1 8'd1; // this cannot be zero with DLM also zer0.
|
DLL <= #1 8'd1; // this cannot be zero with DLM also zer0.
|
||||||
@ -155,7 +155,7 @@ module uartPC16550D(
|
|||||||
3'b001: if (DLAB) DLM <= #1 Din; else IER <= #1 Din[3:0];
|
3'b001: if (DLAB) DLM <= #1 Din; else IER <= #1 Din[3:0];
|
||||||
-----/\----- EXCLUDED -----/\----- */
|
-----/\----- EXCLUDED -----/\----- */
|
||||||
// *** BUG FIX ME for now for the divider to be 11. Our clock is 23 Mhz. 23Mhz /(25 * 16) = 57600 baud, which is close enough to 57600 baud
|
// *** BUG FIX ME for now for the divider to be 11. Our clock is 23 Mhz. 23Mhz /(25 * 16) = 57600 baud, which is close enough to 57600 baud
|
||||||
3'b000: if (DLAB) DLL <= #1 8'd25; //else TXHR <= #1 Din; // TX handled in TX register/FIFO section
|
3'b000: if (DLAB) DLL <= #1 8'd11; //else TXHR <= #1 Din; // TX handled in TX register/FIFO section
|
||||||
3'b001: if (DLAB) DLM <= #1 8'b0; else IER <= #1 Din[3:0];
|
3'b001: if (DLAB) DLM <= #1 8'b0; else IER <= #1 Din[3:0];
|
||||||
|
|
||||||
3'b010: FCR <= #1 {Din[7:6], 2'b0, Din[3], 2'b0, Din[0]}; // Write only FIFO Control Register; 4:5 reserved and 2:1 self-clearing
|
3'b010: FCR <= #1 {Din[7:6], 2'b0, Din[3], 2'b0, Din[0]}; // Write only FIFO Control Register; 4:5 reserved and 2:1 self-clearing
|
||||||
|
Loading…
Reference in New Issue
Block a user