Use longname for ElaborationArtefact emission
Signed-off-by: Schuyler Eldridge <schuyler.eldridge@gmail.com>
This commit is contained in:
parent
e52d52ae99
commit
cfd49f87c1
@ -60,7 +60,7 @@ VERILATOR_FLAGS := --top-module $(MODEL) \
|
|||||||
--output-split-cfuncs 20000 \
|
--output-split-cfuncs 20000 \
|
||||||
-Wno-STMTDLY --x-assign unique \
|
-Wno-STMTDLY --x-assign unique \
|
||||||
-I$(base_dir)/vsrc \
|
-I$(base_dir)/vsrc \
|
||||||
-O3 -CFLAGS "$(CXXFLAGS) -DVERILATOR -DTEST_HARNESS=V$(MODEL) -include $(base_dir)/csrc/verilator.h -include $(generated_dir)/$(CONFIG).plusArgs"
|
-O3 -CFLAGS "$(CXXFLAGS) -DVERILATOR -DTEST_HARNESS=V$(MODEL) -include $(base_dir)/csrc/verilator.h -include $(generated_dir)/$(PROJECT).$(CONFIG).plusArgs"
|
||||||
cppfiles = $(addprefix $(base_dir)/csrc/, $(addsuffix .cc, $(CXXSRCS)))
|
cppfiles = $(addprefix $(base_dir)/csrc/, $(addsuffix .cc, $(CXXSRCS)))
|
||||||
headers = $(wildcard $(base_dir)/csrc/*.h)
|
headers = $(wildcard $(base_dir)/csrc/*.h)
|
||||||
|
|
||||||
|
@ -134,7 +134,7 @@ trait GeneratorApp extends App with HasGeneratorUtilities {
|
|||||||
/** Output files created as a side-effect of elaboration */
|
/** Output files created as a side-effect of elaboration */
|
||||||
def generateArtefacts {
|
def generateArtefacts {
|
||||||
ElaborationArtefacts.files.foreach { case (extension, contents) =>
|
ElaborationArtefacts.files.foreach { case (extension, contents) =>
|
||||||
writeOutputFile(td, s"${names.configs}.${extension}", contents ())
|
writeOutputFile(td, s"$longName.$extension", contents ())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user