mirror of
https://github.com/vortexgpgpu/vortex.git
synced 2025-04-22 21:09:15 -04:00
minor update
This commit is contained in:
parent
97668bf6f6
commit
21e04a0cb0
6 changed files with 8 additions and 8 deletions
|
@ -21,7 +21,7 @@ module VX_gpr_ram (
|
|||
`ifndef ASIC
|
||||
`UNUSED_VAR(reset)
|
||||
|
||||
reg [`NUM_THREADS-1:0][31:0] ram[31:0];
|
||||
reg [`NUM_THREADS-1:0][3:0][7:0] ram[31:0];
|
||||
|
||||
wire [4:0] waddr = writeback_if.rd;
|
||||
wire [`NUM_THREADS-1:0][31:0] wdata = writeback_if.data;
|
||||
|
@ -30,8 +30,8 @@ module VX_gpr_ram (
|
|||
for (i = 0; i < `NUM_THREADS; i++) begin
|
||||
always @(posedge clk) begin
|
||||
if (write_enable[i]) begin
|
||||
ram[waddr][i][0] <= wdata[i][7:0];
|
||||
ram[waddr][i][1] <= wdata[i][15:8];
|
||||
ram[waddr][i][0] <= wdata[i][07:00];
|
||||
ram[waddr][i][1] <= wdata[i][15:08];
|
||||
ram[waddr][i][2] <= wdata[i][23:16];
|
||||
ram[waddr][i][3] <= wdata[i][31:24];
|
||||
end
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
module VX_generic_queue #(
|
||||
parameter DATAW,
|
||||
parameter SIZE = 16,
|
||||
parameter BUFFERED_OUTPUT = 1
|
||||
parameter BUFFERED_OUTPUT = (SIZE > 8)
|
||||
) (
|
||||
input wire clk,
|
||||
input wire reset,
|
||||
|
|
2
hw/syn/quartus/cache/Makefile
vendored
2
hw/syn/quartus/cache/Makefile
vendored
|
@ -67,4 +67,4 @@ program: $(PROJECT).sof
|
|||
quartus_pgm --no_banner --mode=jtag -o "$(PROJECT).sof"
|
||||
|
||||
clean:
|
||||
rm -rf bin *.rpt *.chg *.qsf *.qpf *.qws smart.log *.htm *.eqn *.pin *.sof *.pof qdb incremental_db tmp-clearbox
|
||||
rm -rf bin *.rpt *.chg *.qsf *.qpf *.qws *.log *.htm *.eqn *.pin *.sof *.pof qdb incremental_db tmp-clearbox
|
||||
|
|
|
@ -67,4 +67,4 @@ program: $(PROJECT).sof
|
|||
quartus_pgm --no_banner --mode=jtag -o "$(PROJECT).sof"
|
||||
|
||||
clean:
|
||||
rm -rf bin *.rpt *.chg *.qsf *.qpf *.qws smart.log *.htm *.eqn *.pin *.sof *.pof qdb incremental_db tmp-clearbox
|
||||
rm -rf bin *.rpt *.chg *.qsf *.qpf *.qws *.log *.htm *.eqn *.pin *.sof *.pof qdb incremental_db tmp-clearbox
|
||||
|
|
|
@ -67,4 +67,4 @@ program: $(PROJECT).sof
|
|||
quartus_pgm --no_banner --mode=jtag -o "$(PROJECT).sof"
|
||||
|
||||
clean:
|
||||
rm -rf bin *.rpt *.chg *.qsf *.qpf *.qws smart.log *.htm *.eqn *.pin *.sof *.pof qdb incremental_db tmp-clearbox
|
||||
rm -rf bin *.rpt *.chg *.qsf *.qpf *.qws *.log *.htm *.eqn *.pin *.sof *.pof qdb incremental_db tmp-clearbox
|
||||
|
|
|
@ -67,4 +67,4 @@ program: $(PROJECT).sof
|
|||
quartus_pgm --no_banner --mode=jtag -o "$(PROJECT).sof"
|
||||
|
||||
clean:
|
||||
rm -rf bin *.rpt *.chg *.qsf *.qpf *.qws smart.log *.htm *.eqn *.pin *.sof *.pof qdb incremental_db tmp-clearbox
|
||||
rm -rf bin *.rpt *.chg *.qsf *.qpf *.qws *.log *.htm *.eqn *.pin *.sof *.pof qdb incremental_db tmp-clearbox
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue