firesim modifications

This commit is contained in:
Richard Yan
2024-05-07 13:59:25 -07:00
parent c9a3eaad79
commit 37616f3334
3 changed files with 5 additions and 6 deletions

View File

@@ -26,6 +26,8 @@
`define NUM_THREADS 8 `define NUM_THREADS 8
`define NUM_WARPS 8 `define NUM_WARPS 8
`define FIRESIM
// synthesis only // synthesis only
`ifndef SIMULATION `ifndef SIMULATION
`define SYNTHESIS `define SYNTHESIS

View File

@@ -13,8 +13,6 @@
`include "VX_fpu_define.vh" `include "VX_fpu_define.vh"
`ifdef FPU_FPNEW
module VX_fpu_fpnew module VX_fpu_fpnew
import VX_fpu_pkg::*; import VX_fpu_pkg::*;
import fpnew_pkg::*; import fpnew_pkg::*;
@@ -110,7 +108,7 @@ module VX_fpu_fpnew
`UNUSED_VAR (fmt) `UNUSED_VAR (fmt)
always @(*) begin always @(*) begin
fpu_op = 'x; fpu_op = fpnew_pkg::ADD;
fpu_rnd = frm; fpu_rnd = frm;
fpu_op_mod = 0; fpu_op_mod = 0;
fpu_has_fflags = 1; fpu_has_fflags = 1;
@@ -283,4 +281,3 @@ module VX_fpu_fpnew
); );
endmodule endmodule
`endif