Fix include path in rvfloats.cpp to work with Chisel addResources

addResource() in Chisel flattens everything to gen-collateral/ dir, so
cannot use relative path for includes.
This commit is contained in:
Hansung Kim
2023-11-15 20:06:18 -08:00
parent 7e0b63a3b3
commit d9cb14d6e4

View File

@@ -17,7 +17,10 @@
extern "C" { extern "C" {
#include <softfloat.h> #include <softfloat.h>
#include <internals.h> #include <internals.h>
#include <../RISCV/specialize.h> // #include <../RISCV/specialize.h>
// NOTE(hansung): addResource() in Chisel flattens everything to
// gen-collateral/ dir, so cannot use relative path for includes
#include <specialize.h>
} }
#define F32_SIGN 0x80000000 #define F32_SIGN 0x80000000