#15 closed enhancement (fixed)
add computable parameter to soclib-cc
| Reported by: | Owned by: | somebody | |
|---|---|---|---|
| Priority: | minor | Component: | component1 |
| Keywords: | Cc: |
Description
This patch add the ability to compute a parameter value from a parameter.Reference. At the moment only template construction and value multiplication are implemented. Here is an example:
Port('caba:fifo_input', 'p_input', 2,
data_t=parameter.Template('sc_uint',
[ parameter.Reference('IP_BITWIDTH') * 4])),
Attachments (1)
Change History (3)
by , 17 years ago
| Attachment: | computable_parameter.patch added |
|---|
comment:1 by , 17 years ago
comment:2 by , 17 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.


This patch is good, but I have heavier changes to SoCLib-cc under the hood, bringing this and most other binary operations for free.