-
Notifications
You must be signed in to change notification settings - Fork 1
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
Cl/eth astral #8
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few comments here and there. I did not look at the ethernet integration because we will have to redo it.
@@ -75,7 +75,7 @@ sources: | |||
# package. Files in level 1 only depend on files in level 0, files in level 2 on files in | |||
# levels 1 and 0, etc. Files within a level are ordered alphabetically. | |||
# Level 0 | |||
- hw/carfield_pkg.sv | |||
- hw/carfield_pkg.sv |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Trailing spaces.
@@ -166,7 +166,7 @@ chs-sw-build: chs-sw-all | |||
|
|||
.PHONY: car-sw-build | |||
## Builds carfield application SW and specific libraries. It links against `libcheshire.a`. | |||
car-sw-build: chs-sw-build safed-sw-build pulpd-sw-build car-sw-all | |||
car-sw-build: chs-sw-build pulpd-sw-build car-sw-all #safed-sw-build |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why commenting out the safed-sw-build
?
@@ -214,7 +214,7 @@ pulpd-sw-build: pulpd-sw-init | |||
## Initialize Carfield HW. This step takes care of the generation of the missing hardware or the | |||
## update of default HW configurations in some of the domains. See the two prerequisite's comment | |||
## for more information. | |||
car-hw-init: spatzd-hw-init chs-hw-init secd-hw-init |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why removing the secd-hw-init
?
@@ -289,7 +289,7 @@ include $(CAR_SIM_DIR)/sim.mk | |||
|
|||
.PHONY: car-init-all | |||
## Shortcut to initialize carfield with all the targets described above. | |||
car-init-all: car-checkout car-hw-init car-sim-init safed-sw-init pulpd-sw-init mibench | |||
car-init-all: car-checkout car-hw-init car-sim-init pulpd-sw-init mibench #safed-sw-init |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why commenting out the safed-sw-init
?
localparam islands_cfg_t CarfieldIslandsCfg = '{ | ||
l2_port0: '{L2Port0Enable, L2Port0Base, L2Port0Size}, | ||
l2_port1: '{L2Port1Enable, L2Port1Base, L2Port1Size}, | ||
safed: '{SafetyIslandEnable, SafetyIslandBase, SafetyIslandSize}, | ||
l2_port0: '{0, L2Port0Base, L2Port0Size}, | ||
l2_port1: '{0, L2Port1Base, L2Port1Size}, | ||
safed: '{0, SafetyIslandBase, SafetyIslandSize}, | ||
ethernet: '{EthernetEnable, EthernetBase, EthernetSize}, | ||
periph: '{PeriphEnable, PeriphBase, PeriphSize}, | ||
spatz: '{SpatzClusterEnable, SpatzClusterBase, SpatzClusterSize}, | ||
spatz: '{0, SpatzClusterBase, SpatzClusterSize}, | ||
pulp: '{PulpClusterEnable, PulpClusterBase, PulpClusterSize}, | ||
secured: '{SecurityIslandEnable, SecurityIslandBase, SecurityIslandSize}, | ||
secured: '{0, SecurityIslandBase, SecurityIslandSize}, | ||
mbox: '{MailboxEnable, MailboxBase, MailboxSize} | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Create a specific config, add it to Bender.yml and use it in the bender-common.mk, do not just hammer it.
#include <stdio.h> | ||
#include <stdlib.h> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You always have to add the copiright header on top of the files.
ethernet integration @yvantor