*** tpb has joined #yosys | 00:00 | |
*** pie_ has joined #yosys | 00:26 | |
*** m_w has quit IRC | 01:29 | |
*** emeb has quit IRC | 01:32 | |
mithro | Is there an easy way to split inout wires into two separate wires? | 01:58 |
---|---|---|
mithro | Looks like you can deminout ... | 02:00 |
mithro | An there is tribuf ... | 02:01 |
ZipCPU | What are you trying to do? | 02:10 |
mithro | ZipCPU: I have a module with has an inout pin - but I need it to be seperate input and output pins | 02:16 |
ZipCPU | You'll need a tristate pin as well. | 02:17 |
ZipCPU | Which architecture, ice40? | 02:17 |
ZipCPU | Feel free to take a look at https://github.com/ZipCPU/icozip/blob/master/rtl/pport/ppio.v for an ice40 example if you want. | 02:18 |
tpb | Title: icozip/ppio.v at master · ZipCPU/icozip · GitHub (at github.com) | 02:18 |
mithro | ZipCPU: So, vpr doesn't support inout ports -- so that SB_IO needs to be separated into input/output | 02:20 |
ZipCPU | That's what the ppio example does for you. | 02:20 |
mithro | ZipCPU: that ppio example creates the SB_IO primitive | 02:21 |
ZipCPU | Yes. | 02:21 |
ZipCPU | I would prefer if the primitive were inferred. Yosys doesn't do that (yet) tho. | 02:21 |
mithro | ZipCPU: The SB_IO primitive has a inout port - PACKAGE_PIN | 02:21 |
ZipCPU | Yes. That's the wire that goes to the I/O pin of your device | 02:22 |
mithro | I need to split PACKAGE_PIN into PACKAGE_PIN_I and PACKAGE_PIN_O ports | 02:22 |
ZipCPU | I'm confused. | 02:22 |
ZipCPU | You have two external pins? | 02:22 |
ZipCPU | An input and an output pin? | 02:23 |
mithro | ZipCPU: No - Verilog to Routing doesn't support inout port specifications, it models them with two seperate in/out ports | 02:23 |
ZipCPU | Ok | 02:24 |
ZipCPU | Most designs will have at the top level a line looking like: pin = (trien) ? out : 1'bz; | 02:24 |
ZipCPU | Usually you can look at that line to figure out how to split the inout port. | 02:24 |
mithro | ZipCPU: So, I need a yosys command which modifies the loaded rtl to split the PACKAGE_PIN into the two ports | 02:25 |
ZipCPU | I'm not aware of such a command. | 02:25 |
ZipCPU | Last I had heard, yosys only had partial support for inouts ... and that wasn't supported. | 02:25 |
mithro | I was sure that clifford had such a command for cases were the sat solver didn't support inout either? | 02:25 |
ZipCPU | If he did, I'd love to learn of it myself. | 02:26 |
ZipCPU | It would make some I/O interfaces much easier. | 02:26 |
mithro | ZipCPU: Unless I'm going crazy | 02:32 |
ZipCPU | I'll race you to it. | 02:33 |
ZipCPU | Crazy that is. | 02:33 |
*** seldridge has quit IRC | 04:02 | |
*** ar3itrary has quit IRC | 04:09 | |
*** ar3itrary has joined #yosys | 04:14 | |
*** ar3itrary has quit IRC | 04:32 | |
*** ar3itrary has joined #yosys | 04:42 | |
*** promach has quit IRC | 04:43 | |
*** promach has joined #yosys | 04:49 | |
*** ar3itrary has quit IRC | 05:14 | |
*** eduardo__ has joined #yosys | 05:15 | |
*** ar3itrary has joined #yosys | 05:17 | |
*** xa0 has quit IRC | 05:21 | |
*** eduardo_ has quit IRC | 05:21 | |
*** _whitelogger has quit IRC | 05:21 | |
*** proteusguy has quit IRC | 05:21 | |
*** andi- has quit IRC | 05:21 | |
*** jhol has quit IRC | 05:21 | |
*** rqou has quit IRC | 05:21 | |
*** jeandet has quit IRC | 05:21 | |
*** sorear has quit IRC | 05:21 | |
*** lvrp16 has quit IRC | 05:21 | |
*** _florent_ has quit IRC | 05:21 | |
*** guan has quit IRC | 05:21 | |
*** _whitelogger has joined #yosys | 05:27 | |
*** rqou has joined #yosys | 05:38 | |
*** xa0 has joined #yosys | 05:39 | |
*** proteusguy has joined #yosys | 05:39 | |
*** andi- has joined #yosys | 05:39 | |
*** jhol has joined #yosys | 05:39 | |
*** jeandet has joined #yosys | 05:39 | |
*** sorear has joined #yosys | 05:39 | |
*** lvrp16 has joined #yosys | 05:39 | |
*** _florent_ has joined #yosys | 05:39 | |
*** guan has joined #yosys | 05:39 | |
*** xerpi has joined #yosys | 06:08 | |
*** jaafar has quit IRC | 06:39 | |
TD-Linux | tinyfpga, did you have a particular header in mind to solder to the extra bottom bx pads? or are they just for wires | 06:41 |
*** ralu has quit IRC | 07:45 | |
*** ralu has joined #yosys | 07:50 | |
*** jwhitmore has joined #yosys | 08:07 | |
*** xa0 has quit IRC | 08:10 | |
*** xa0 has joined #yosys | 08:11 | |
*** jwhitmore has quit IRC | 08:15 | |
*** proteusguy has quit IRC | 08:42 | |
*** proteusguy has joined #yosys | 08:54 | |
*** jwhitmore has joined #yosys | 08:57 | |
*** jwhitmore has quit IRC | 09:14 | |
*** massi has joined #yosys | 09:44 | |
*** proteus-guy has quit IRC | 09:49 | |
*** xerpi has quit IRC | 09:54 | |
*** massi has quit IRC | 10:08 | |
*** massi has joined #yosys | 10:09 | |
*** indy has quit IRC | 10:10 | |
*** m_t has joined #yosys | 10:51 | |
*** indy has joined #yosys | 10:57 | |
*** eduardo__ has quit IRC | 12:12 | |
*** massi has quit IRC | 12:43 | |
*** dxld has quit IRC | 12:52 | |
*** dxld has joined #yosys | 12:53 | |
*** massi has joined #yosys | 12:58 | |
*** seldridge has joined #yosys | 13:14 | |
*** xa0 has quit IRC | 13:16 | |
*** xa0 has joined #yosys | 13:22 | |
*** luismarques has joined #yosys | 13:25 | |
*** promach_ has joined #yosys | 14:05 | |
*** andi- has quit IRC | 14:14 | |
*** andi- has joined #yosys | 14:19 | |
*** fsasm has joined #yosys | 14:23 | |
*** m_w has joined #yosys | 14:26 | |
tinyfpga | TD-Linux: just a standard 2.54mm pitch surface mount header | 14:45 |
*** xa0 has quit IRC | 14:55 | |
*** xa0 has joined #yosys | 14:56 | |
*** m_t has quit IRC | 15:03 | |
*** emeb has joined #yosys | 15:08 | |
*** luismarques has quit IRC | 15:20 | |
*** proteus-guy has joined #yosys | 15:23 | |
*** seldridge has quit IRC | 15:28 | |
*** seldridge has joined #yosys | 15:28 | |
*** jwhitmore has joined #yosys | 15:33 | |
*** luismarques has joined #yosys | 15:55 | |
*** luismarques has quit IRC | 15:57 | |
*** jwhitmore has quit IRC | 15:59 | |
*** seldridge has quit IRC | 16:32 | |
*** massi has quit IRC | 16:41 | |
*** fsasm has quit IRC | 17:04 | |
*** dys has joined #yosys | 17:17 | |
*** digshadow has quit IRC | 17:19 | |
*** pie_ has quit IRC | 17:21 | |
*** promach_ has quit IRC | 17:37 | |
*** jwhitmore has joined #yosys | 17:46 | |
*** m_w has quit IRC | 17:48 | |
*** digshadow has joined #yosys | 17:59 | |
*** maikmerten has joined #yosys | 18:22 | |
*** m_t has joined #yosys | 18:49 | |
*** maikmerten has quit IRC | 19:27 | |
*** maikmerten has joined #yosys | 19:28 | |
*** jwhitmore has quit IRC | 19:28 | |
*** m_w has joined #yosys | 19:38 | |
*** pie_ has joined #yosys | 19:51 | |
*** maikmerten has quit IRC | 20:17 | |
*** X-Scale has quit IRC | 20:18 | |
*** emeb has quit IRC | 20:24 | |
*** X-Scale has joined #yosys | 20:36 | |
*** emeb has joined #yosys | 20:37 | |
*** pie_ has quit IRC | 20:54 | |
*** emeb has quit IRC | 21:18 | |
*** emeb has joined #yosys | 21:32 | |
*** pie_ has joined #yosys | 21:39 | |
*** pie_ has quit IRC | 21:40 | |
*** pie__ has joined #yosys | 21:40 | |
*** emeb has quit IRC | 21:47 | |
*** emeb has joined #yosys | 21:48 | |
*** pie__ has quit IRC | 22:03 | |
*** pie__ has joined #yosys | 22:04 | |
*** emeb has quit IRC | 22:15 | |
*** emeb has joined #yosys | 22:29 | |
*** ravenexp has quit IRC | 22:39 | |
*** ravenexp has joined #yosys | 22:39 | |
*** pie__ has quit IRC | 22:49 | |
*** pie__ has joined #yosys | 22:49 | |
*** m_w has quit IRC | 22:52 | |
*** pie__ has quit IRC | 23:21 | |
*** pie__ has joined #yosys | 23:21 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!