fpga build fixes

This commit is contained in:
Blaise Tine
2021-04-02 23:34:58 -07:00
parent 005a86f551
commit bc091d52c4
4 changed files with 18 additions and 9 deletions

View File

@@ -102,8 +102,8 @@ module VX_gpu_unit #(
`UNUSED_VAR (gpu_req_if.op_mod)
VX_tex_req_if tex_req_if;
VX_tex_rsp_if tex_rsp_if;
VX_tex_req_if tex_req_if();
VX_tex_rsp_if tex_rsp_if();
wire is_tex = (gpu_req_if.op_type == `GPU_TEX);

View File

@@ -43,7 +43,8 @@ module VX_tex_format #(
texel_out_r[23:16] = `TEX_COLOR_BITS'(texel_in[7:0]);
texel_out_r[31:24] = {`TEX_COLOR_BITS{1'b1}};
end
default: begin // `TEX_FORMAT_R8G8B8A8:
// `TEX_FORMAT_R8G8B8A8
default: begin
texel_out_r[07:00] = `TEX_COLOR_BITS'(texel_in[7:0]);
texel_out_r[15:08] = `TEX_COLOR_BITS'(texel_in[15:8]);
texel_out_r[23:16] = `TEX_COLOR_BITS'(texel_in[23:16]);

View File

@@ -1,4 +1,4 @@
`include "VX_define.vh"
`include "../cache/VX_cache_define.vh"
module VX_tex_lsu_arb #(
parameter NUM_REQS = 1,