Opened 17 years ago

Closed 17 years ago

#18 closed task (fixed)

Rework hardware signal connection directives

Reported by: Nicolas Pouillon Owned by: Nicolas Pouillon
Priority: minor Milestone: ariel
Component: dsx Version:
Keywords: netlist Cc:

Description

c0.p0( c1.p0 ) SystemC-like syntax is not so good. Maybe we should overload a binary operator to archieve the same task.

  • == cant be used because it will be used when python tries to compare objects
  • + - / * % could also be used, but are not readable either.
  • // could be good

With proper return-values, we could also write:

c0.p0 // c1.p0

or

c0.p0 // c1.p0 // c2.p0

or

sig = c0.p0 // c1.p0
sig // c2.p0

Change History (1)

comment:1 Changed 17 years ago by Nicolas Pouillon

Resolution: fixed
Status: newclosed

Using in [969]

Note: See TracTickets for help on using tickets.