mirror of https://github.com/XS-MLVP/picker.git
[fix] parallel build error & non-appimage (#44)
This commit is contained in:
parent
ba5127bd4b
commit
0903a84e90
|
@ -100,8 +100,7 @@ RUN mkdir /workspace && \
|
|||
wget https://github.com/chipsalliance/verible/releases/download/v0.0-3979-g786edf03/verible-v0.0-3979-g786edf03-linux-static-x86_64.tar.gz && \
|
||||
tar -xzf verible-v0.0-3979-g786edf03-linux-static-x86_64.tar.gz -C /usr/local/ --strip-components=1 && \
|
||||
rm verible-v0.0-3979-g786edf03-linux-static-x86_64.tar.gz && \
|
||||
cd picker && make init && \
|
||||
make -j$(nproc) && \
|
||||
cd picker && make && \
|
||||
make install && \
|
||||
make clean && \
|
||||
chmod 755 /usr/local/bin -R
|
||||
|
|
|
@ -3,3 +3,4 @@ Cache:
|
|||
- s2:
|
||||
- "reg [63:0] forwardDataReg_data_data"
|
||||
|
||||
|
|
@ -10,7 +10,7 @@ except:
|
|||
if __name__ == "__main__":
|
||||
dut = DUTCacheCFG()
|
||||
dut.InitClock("clock")
|
||||
print("Pins startwith(CacheCFG_top.clock): ", dut.xcfg.GetSignalNames("CacheCFG_top.clock"))
|
||||
print("Pins startwith(CacheCFG_top.clock): ", dut.xcfg.GetSignalNames("CacheCFG_top.clock"))
|
||||
clk = dut.GetInternalSignal("CacheCFG_top.clock")
|
||||
rst = dut.GetInternalSignal("CacheCFG_top.reset")
|
||||
array_2 = dut.GetInternalSignal("CacheCFG_top.Cache.dataArray.ram.array_2", is_array=True)
|
||||
|
|
|
@ -162,10 +162,11 @@ namespace picker { namespace codegen {
|
|||
data["__RW_TYPE__"] = opts.rw_type == picker::SignalAccessType::MEM_DIRECT ? "MEM_DIRECT" : "DPI";
|
||||
data["__TARGET_LANGUAGE__"] = opts.language;
|
||||
data["__FILELIST__"] = ofilelist;
|
||||
data["__LIB_DPI_FUNC_NAME_HASH__"] = std::string(lib_random_hash);
|
||||
data["__GENERATOR_PICKER_PATH__"] = appimage::is_running_as_appimage() ?
|
||||
std::filesystem::read_symlink("/proc/self/exe").string() :
|
||||
std::string(getenv("APPIMAGE"));
|
||||
data["__LIB_DPI_FUNC_NAME_HASH__"] = std::string(lib_random_hash);
|
||||
data["__GENERATOR_PICKER_PATH__"] =
|
||||
appimage::is_running_as_appimage() ?
|
||||
(getenv("APPIMAGE") != nullptr ? std::string(getenv("APPIMAGE")) : std::string()) :
|
||||
std::filesystem::read_symlink("/proc/self/exe").string();
|
||||
data["__GENERATOR_TEMPLATE_PATH__"] = std::filesystem::path(opts.source_dir).string();
|
||||
|
||||
// Render lib files
|
||||
|
|
Loading…
Reference in New Issue