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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user