forked from HEL/circuiteria
		
	fixed multiplexers with named ports + minor changes
This commit is contained in:
		| @@ -33,7 +33,6 @@ | ||||
|   stroke: black + 1pt, | ||||
|   id: "", | ||||
|   debug: ( | ||||
|     grid: false, | ||||
|     ports: false | ||||
|   ) | ||||
| ) = { | ||||
| @@ -45,6 +44,10 @@ | ||||
|       let bits = util.lpad(str(i, base: 2), nbits) | ||||
|       ports.push((id: "in" + str(i), name: bits)) | ||||
|     } | ||||
|   } else { | ||||
|     for (i, port) in entries.enumerate() { | ||||
|       ports.push((id: "in" + str(i), name: port)) | ||||
|     } | ||||
|   } | ||||
|    | ||||
|   element.elmt( | ||||
|   | ||||
		Reference in New Issue
	
	Block a user