-
Notifications
You must be signed in to change notification settings - Fork 5
MAGIA v2 #41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
MAGIA v2 #41
Changes from all commits
Commits
Show all changes
49 commits
Select commit
Hold shift + click to select a range
c54880f
Swapped to memory-mapped RedMulE
09c66d8
redmule and idma mm with tests
LucaBalboni24 bedb173
Add memory mapped interface support also for FSYNCH and tests (interr…
LucaBalboni24 ce1484f
event_unit introduced with tests and api file
LucaBalboni24 00898d4
Introduce flex-v changes with core data demux and event unit updates
LucaBalboni24 e93a34d
Update Flex-V bender and makefile and new utils
LucaBalboni24 810d370
Integrate cv32e40p core (PULPissimo 3.4.0) with Event Unit and p.elw …
LucaBalboni24 a3f26c3
fix: Update CV32E40P core and simplify Event Unit API
LucaBalboni24 a2c18eb
Update comments and add mesh test event unit new
LucaBalboni24 5c973bf
Swapped to memory-mapped RedMulE
268e0d4
redmule and idma mm with tests
LucaBalboni24 5483e67
Add memory mapped interface support also for FSYNCH and tests (interr…
LucaBalboni24 018f4ac
event_unit introduced with tests and api file
LucaBalboni24 2896fc0
Introduce flex-v changes with core data demux and event unit updates
LucaBalboni24 2bfcc45
Update Flex-V bender and makefile and new utils
LucaBalboni24 bb90963
Integrate cv32e40p core (PULPissimo 3.4.0) with Event Unit and p.elw …
LucaBalboni24 f3661c3
fix: Update CV32E40P core and simplify Event Unit API
LucaBalboni24 697de1d
Update comments and add mesh test event unit new
LucaBalboni24 5c45a75
Fixed obi-cut rsp_o.gnt
LucaBalboni24 701ef76
Aligned to new exit routine
LucaBalboni24 6ef4edc
Update .gitignore to exclude generated simulation files
LucaBalboni24 92c84be
Add work/ and improve .gitignore for test artifacts
LucaBalboni24 dd9184b
Ignore all test directories and modelsim.ini in root
LucaBalboni24 65049cd
Remove redundant sw/.gitignore
LucaBalboni24 df7e5a9
Update dependencies for cv32e40p and obi
LucaBalboni24 c806c29
1b7c96d
Updated memory mapping (shifted up by 0100) to prevent errors in comp…
LucaBalboni24 b1065a8
Clean-up the repo from old functions
LucaBalboni24 957a4e6
Update comments
LucaBalboni24 3d1aee4
Removed CLK gating monitor
LucaBalboni24 220615e
Update tile_test_mm.c
luca24balboni ec521bd
Fixed vip typo with older version core
luca24balboni 993392b
Fixed obi in Bender.yml and Bender.local SHA
luca24balboni d0ba33d
Removed OBI cut from CV32 port to avoid protocol violations and updat…
luca24balboni e81f91c
magia_tile: remove unused signals and fix unassigned signals
luca24balboni b3dcef5
Add floo_id signal declaration and assignment for FlooNoC router conf…
luca24balboni 96c8495
Aligned Luca Balboni's branch with the main keeping the Xif infrastru…
fb4398d
Added configurable compiler ISA: dafault cv32e40x
e0efb5e
Fixes; Added back tests; modified .gitignore
0cd1722
General fixes: Xif tests now passing
ebe5c57
General fixes 2: mm and eu tests now passing also
7aacfd2
Update README.md
VictorIsachi b0afb18
Minor fixes: single tile tests passing now
63db17d
Improved core selection
84c24d9
Fixed and improved flow to select among the cores and programming int…
02e3a83
Minor fix to setup script
1740b9d
Bumped OBI2AXI converter to fixed version
a80ae54
Fixed XTEN setting accordingly to the chosen core
fea656b
Fixed bug on obi_atop_resolver, updated SYNC_BASE based on new addres…
luca24balboni File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,3 +8,5 @@ synth-ips.log | |
| build-hw.log | ||
| profile-ips.log | ||
| magia_venv/ | ||
| modelsim.ini | ||
| # sw/tests/*/ | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,9 +1,10 @@ | ||
| overrides: | ||
| fpnew : { git: "https://github.com/pulp-platform/cvfpu.git" , rev: a8e0cba6dd50f357ece73c2c955d96efc3c6c315 } | ||
| hci : { git: "https://github.com/pulp-platform/hci.git" , rev: 5a48a854573fca5bbabc1cfd4110fa4530a50ed7 } | ||
| cv32e40p : { git: "https://github.com/pulp-platform/cv32e40p.git" , rev: 1a93f340e9dadb9f7c8c471f27a40932c8b1c62e } | ||
| cv32e40p : { git: "https://github.com/pulp-platform/cv32e40p.git" , rev: 37a82d337ba60129c333d104c29e816d0698b53b } | ||
| cv32e40x : { git: "https://github.com/pulp-platform/cv32e40x.git" , rev: a90101211048ba1a16cedbe4db963ab6e12569d7 } | ||
| axi : { git: "https://github.com/pulp-platform/axi.git" , version: 0.39.5 } | ||
| obi : { git: "https://github.com/pulp-platform/obi.git" , rev: 528dc65303d5ffb02fbc254324c6b53eac0dd6e5 } | ||
| register_interface : { git: "https://github.com/pulp-platform/register_interface.git", rev: e25b36670ff7aab3402f40efcc2b11ee0f31cf19 } | ||
| idma : { git: "https://github.com/pulp-platform/iDMA.git" , rev: c12caf59bb482fe44b27361f6924ad346b2d22fe } | ||
| tech_cells_generic : { git: "https://github.com/pulp-platform/tech_cells_generic.git", version: 0.2.13 } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alenad95 marked this conversation as resolved.
Show resolved
Hide resolved
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,57 @@ | ||
| /* | ||
| * Copyright (C) 2023-2024 ETH Zurich and University of Bologna | ||
| * | ||
| * Licensed under the Solderpad Hardware License, Version 0.51 | ||
| * (the "License"); you may not use this file except in compliance | ||
| * with the License. You may obtain a copy of the License at | ||
| * | ||
| * http://www.apache.org/licenses/LICENSE-2.0 | ||
| * | ||
| * Unless required by applicable law or agreed to in writing, software | ||
| * distributed under the License is distributed on an "AS IS" BASIS, | ||
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| * See the License for the specific language governing permissions and | ||
| * limitations under the License. | ||
| * SPDX-License-Identifier: SHL-0.51 | ||
| * | ||
| * Authors: Luca Balboni <luca.balboni10@studio.unibo.it> | ||
| * | ||
| * Simple cluster event mapping module for MAGIA project | ||
| * This module maps various event types to the final cluster event outputs | ||
| */ | ||
|
|
||
| module cluster_event_map #( | ||
| parameter int unsigned NB_CORES = 1 | ||
| )( | ||
| // Input events from various sources | ||
| input logic [NB_CORES-1:0] [7:0] sw_events_i, // Software events | ||
| input logic [NB_CORES-1:0] barrier_events_i, // Barrier events (reduced) | ||
| input logic [NB_CORES-1:0] mutex_events_i, // Mutex events (reduced) | ||
| input logic [NB_CORES-1:0] dispatch_events_i, // Dispatch events | ||
| input logic periph_fifo_event_i, // Peripheral FIFO event | ||
|
|
||
| // Hardware events from accelerators, DMA, timers, etc. | ||
| input logic [NB_CORES-1:0] [3:0] acc_events_i, // Accelerator events (4 bits per core) | ||
| input logic [NB_CORES-1:0] [1:0] dma_events_i, // DMA events (2 bits per core) | ||
| input logic [NB_CORES-1:0] [1:0] timer_events_i, // Timer events (2 bits per core) | ||
| input logic [NB_CORES-1:0][31:0] cluster_events_i, // Custom cluster events (32 bits per core) | ||
|
|
||
| // Output: mapped events for each core | ||
| output logic [NB_CORES-1:0][31:0] events_mapped_o | ||
| ); | ||
|
|
||
| // Simple event mapping for each core | ||
| for (genvar i = 0; i < NB_CORES; i++) begin : gen_event_mapping | ||
| assign events_mapped_o[i] = { | ||
| cluster_events_i[i][31:16], // [31:16] Custom cluster events (upper 16 bits) | ||
| 4'b0, // [15:12] Reserved | ||
| acc_events_i[i], // [11:8] Accelerator events | ||
| 2'b0, // [7:6] Reserved | ||
| timer_events_i[i], // [5:4] Timer events | ||
| dma_events_i[i], // [3:2] DMA events | ||
| dispatch_events_i[i], // [1] Dispatch event | ||
| barrier_events_i[i] | mutex_events_i[i] | periph_fifo_event_i // [0] Combined sync/periph events | ||
| }; | ||
| end | ||
|
|
||
| endmodule : cluster_event_map |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.