1
0
Commit Graph

484 Commits

Author SHA1 Message Date
3cc236e9c4 By default, use same TileLink width everywhere
When there's no L2 with a wide interface, having wider TileLink
is only disadvantageous.
2016-05-26 18:04:01 -07:00
976d4d3184 ahb: AHB parameters should match TileLink parameters by default
Closes #116
2016-05-25 18:01:25 -07:00
ec0d178010 Support M-mode-only implementations 2016-05-25 15:40:53 -07:00
e82c080c3c Add blocking D$ 2016-05-25 11:09:50 -07:00
f52fc655a5 remove zscale 2016-05-19 09:43:15 -07:00
abb0e2921b return non-zero exit codes when an assertion fires
This ensures that assertion failures, which currently print a message to
the console but return a successful exit code, now will cause non-zero
exit code. This is meant to help automated tools like travis and
buildbot do a better job at catching assertions.
This impacts the various run-* targets in the simulation
directories.
2016-05-18 12:57:58 -07:00
684d902059 Fix PLIC instantiation when S-mode is disabled 2016-05-13 11:22:46 -07:00
6aa708bcee Disable MMIO by default to avoid disconnected nets 2016-05-11 13:12:39 -07:00
aac89ca1f0 Add PLIC 2016-05-10 00:27:31 -07:00
df479d7935 don't make MIFTagBits a computed parameter 2016-05-08 11:04:58 -07:00
3b0e9167fa add AXI to AHB converter and more conformant HASTI RAM 2016-05-06 11:32:03 -07:00
dfcb73b6c9 groundtest only needs to write to a single tohost 2016-05-03 20:21:13 -07:00
4045a07eda Remove need for separate riscv-tests for groundtest 2016-05-03 18:29:46 -07:00
8f891437b5 fix CacheFillTest 2016-05-03 14:57:05 -07:00
15f4af19cf Remove HTIF CPU port 2016-05-03 13:55:59 -07:00
487d0b356e fixes to get groundtest working with priv-1.9 changes 2016-05-03 13:09:44 -07:00
c7c8ae5468 Instantiate PRCI block 2016-05-02 18:08:33 -07:00
6d1e82bddf Remove mtohost/mfromhost/mipi CSRs; stub out Rocket CSR port 2016-05-02 15:21:55 -07:00
c4d2d29e80 Stub out debug module, rather than leaving it floating 2016-04-30 22:37:39 -07:00
46bbbba5e6 New address map 2016-04-30 20:59:36 -07:00
d0aa4c722d More WIP on new memory map 2016-04-28 16:15:31 -07:00
1f211b37df WIP on new memory map 2016-04-27 14:57:54 -07:00
48170fd9aa add default cases to configs that use CDEMatchError
this avoids filling in the stack trace every time
a config doesn't contain the parameter
2016-04-22 12:14:58 -07:00
f7af908969 put memory into the address map and no longer use MMIOBase 2016-04-21 18:53:16 -07:00
c5838dd9b3 Fix narrow read/write behavior for AXI converters and fix L2 bugs
Until recently, we were assuming that the data channel in AXI was always
right-justified. However, for narrow writes, the data must actually be
aligned within the byte lanes. This commit changes some of the
converters in order to fix this issue.

There was a bug in the L2 cache in which a merged get request was
causing the tracker to read the old data from the data array,
overwriting the updated data acquired from outer memory. Changed it so
that pending_reads is no longer set if the data in the buffer is already
valid.

There was a bug in the PortedTileLinkCrossbar. The new GrantFromSrc and
FinishToDst types used client_id for routing to managers. This caused
bits to get cut off, which meant the Finish messages could not be routed
correctly. Changed to use manager_id instead.
2016-04-12 15:39:15 -07:00
b43a85e2e8 Make ExampleSmallConfig/DefaultRV32Config smaller 2016-04-01 18:18:08 -07:00
6878e3265f Default RowBits to TileLink width, not XLen 2016-04-01 18:18:08 -07:00
35d02c5096 LRSC fix. RocketChipNetwork moved to uncore. 2016-04-01 18:09:00 -07:00
4f06a5ff6b add memtest config for testing memory channel mux 2016-03-31 18:41:56 -07:00
5a74a9b1e7 switch memory interconnect from AXI to TileLink 2016-03-31 18:18:30 -07:00
7c3b57b8fa switch MMIO network to TileLink 2016-03-31 14:30:10 -07:00
c081a36893 Revert "Bump chisel3 and firrtl, add support for firrtl $ delimiter"
This reverts commit 5378f79b50.
2016-03-30 19:06:32 -07:00
1e03408323 get rid of mt benchmark suite 2016-03-29 20:16:07 -07:00
ad93e0226d Changes to prepare for switch to TileLink interconnect
We are planning on switching to a TileLink interconnect throughout and
convert to AXI only on the very edge. Therefore, we need to get rid of
all the existing AXI masters other than the TileLink to AXI converter.

* Get rid of DMA engine for now
* Connect RTC to TileLink interconnect instead of AXI interconnect
2016-03-29 20:16:07 -07:00
5378f79b50 Bump chisel3 and firrtl, add support for firrtl $ delimiter 2016-03-29 20:16:07 -07:00
9b9c662952 fix w_last wire 2016-03-29 20:16:07 -07:00
e1a03cc9ac fix issue with partial writemasks 2016-03-29 20:16:07 -07:00
6c48dc3471 Use more sensible knob values for SmallConfig 2016-03-25 14:18:24 -07:00
cddfdf0929 Add CHISEL_VERSION make argument
This allows users to specify if they want to build RocketChip against
Chisel 2 or 3.  Since Chisel 3 is now open source we can add these
submodule pointers directly to avoid a fork of upstream.
2016-03-24 12:00:13 -07:00
d697559754 Correct the polarity of the non-backup-memory HTIF
This fails in FIRRTL because <> has polarity now.
2016-03-24 12:00:13 -07:00
c989ec5813 Fix the SCR file for Chisel 3 2016-03-21 11:55:40 -07:00
e90a9dfb2b make taking max of multiple integers in config a bit easier 2016-03-16 14:35:08 -07:00
4fc2a14a63 Fix MIF bug that cuts off upper xact id bits 2016-03-16 13:50:30 -07:00
9dc0cbdfa4 WIP on privileged spec v1.9 2016-03-14 18:03:33 -07:00
f2ded2721d Merge branch 'master' into add-rv32-support 2016-03-10 19:33:04 -08:00
25091003af Add RV32 test/configuration options
These won't actually work until further commits.  Rocket RV32 support
is complete, but on the priv-1.9 branch.
2016-03-10 17:40:21 -08:00
7a75a03123 tabs are evil 2016-03-10 14:18:56 -08:00
3c9e63f5a5 don't make HTIF clock divider tied to backup memory 2016-03-09 14:58:20 -08:00
5e145515e1 fix some Chisel assertions 2016-03-02 14:50:49 -08:00
a80b0e959d Add support for per-way cache metadata
Adds a new cache parameter (SplitMetadata) and an associated knob.

Closes #62
2016-03-01 13:03:24 -08:00