commit
e4a822bd50
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
from fusesoc.capi2.generator import Generator
|
from fusesoc.capi2.generator import Generator
|
||||||
import os
|
import os
|
||||||
import shutil
|
import shutil
|
||||||
|
|
|
@ -28,7 +28,7 @@ module ram_``depth``x``width( \
|
||||||
reg [(width-1):0] ram_core [(depth-1):0]; \
|
reg [(width-1):0] ram_core [(depth-1):0]; \
|
||||||
\
|
\
|
||||||
always @(posedge CLK) begin \
|
always @(posedge CLK) begin \
|
||||||
if (ME && WE) ram_core[ADR] = D; \
|
if (ME && WE) ram_core[ADR] <= D; \
|
||||||
if (ME && ~WE) Q <= ram_core[ADR]; \
|
if (ME && ~WE) Q <= ram_core[ADR]; \
|
||||||
end \
|
end \
|
||||||
\
|
\
|
||||||
|
|
|
@ -85,7 +85,7 @@ generate:
|
||||||
|
|
||||||
generators:
|
generators:
|
||||||
swerv_el2_config:
|
swerv_el2_config:
|
||||||
interpreter: python
|
interpreter: python3
|
||||||
command: configs/swerv_config_gen.py
|
command: configs/swerv_config_gen.py
|
||||||
description : Create a SweRV EL2 configuration. Note! Only supports the default config
|
description : Create a SweRV EL2 configuration. Note! Only supports the default config
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue