t-crest / patmos

Patmos is a time-predictable VLIW processor, and the processor for the T-CREST project
http://patmos.compute.dtu.dk
BSD 2-Clause "Simplified" License
135 stars 72 forks source link

Moving to Chisel 3 #75

Closed Thonner closed 4 years ago

Thonner commented 4 years ago

All of Patmos have been ported such that it compiles to chisel3. Following has been commented out - and are left to the original authors to rewrite for chisel 3:

With the porting a new emulator has been build using Verilator. To build the emulator Verilator must be installed through apt-get (instructions in README). The emulator does not yet have all features that the old emulator has. The key features will be implemented ASAP. Missing emulator features:

schoeberl commented 4 years ago

Otherwise LGTM and I will merge.

schoeberl commented 4 years ago

Ok, then I overlooked it.

Martin

On 16 Sep, 2020, at 15:07, Anthon Vincent Riber notifications@github.com wrote:

@Thonner commented on this pull request.

In Makefile https://github.com/t-crest/patmos/pull/75#discussion_r489421971:

@@ -101,19 +101,22 @@ $(JAVATOOLSBUILDDIR)/classes/%.class: tools/java/src/%.java -sourcepath tools/java/src -d $(JAVATOOLSBUILDDIR)/classes $<

Build the Chisel emulator

+#emulator: OLD +# -mkdir -p $(HWBUILDDIR) +# $(MAKE) -C hardware BOOTBUILDROOT=$(CURDIR) BOOTBUILDDIR=$(BUILDDIR) BOOTAPP=$(BOOTAPP) BOOTBIN=$(BUILDDIR)/$(BOOTAPP).bin BOARD=$(BOARD) emulator +# -mkdir -p $(HWINSTALLDIR)/bin +# cp $(HWBUILDDIR)/emulator $(HWINSTALLDIR)/bin/patemu + +# chisel3/verilator emulator +CORECNTT:=$(shell lscpu | grep 'Core(s) per socket:') emulator: I kept the old target the new emulator target is below

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/t-crest/patmos/pull/75#discussion_r489421971, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAE63GHOVN4EOBLYEPQFCNTSGC2CJANCNFSM4ROYSPFQ.