--- Log opened Wed Aug 05 00:00:46 2015 | ||
andrzejr | looks like icarus verilog does not compile a (new) mig generated ddr2 controller | 00:16 |
---|---|---|
andrzejr | I tried adding a -g2005 option - no difference. Any ideas? | 00:17 |
andrzejr | btw, what is this syntax: | 00:18 |
andrzejr | (* full_case, parallel_case *) case (init_state_r) | 00:18 |
andrzejr | iverilog from git has some of the errors fixed, I have worked around other syntax errors (reported upstream) but ultimately arrived at a road block. MIG DDR2 interface requires some encrypted modules (for selected simulators), which means there is no chance of making this code simulate in iverilog. bummer | 02:09 |
andrzejr | all encrypted components are related to Phy and Serdes primitives so even if we managed to write our own DDR2 interface we would have to depend on them. | 02:13 |
_franck__ | andrzejr: I think Altera has some simulation models for their encrypted files I don't know about Xilinx | 07:32 |
andrzejr | _franck_, but those _are_ simulation models. Do you mean some simplified models? | 07:50 |
_franck__ | an encrypted version of the file for synthesis and another version of the file (not encrypted, may be simplified) for simulation | 07:56 |
andrzejr | Unfortunately Xilinx went step further and encrypts also simulation models. They support (encrypt for) several commercial simulator but that won't work for iverilog. | 08:04 |
andrzejr | do you know if this is also the case in series-6 and older devices (e.g. Spartan 6)? | 08:06 |
andrzejr | gtg | 08:07 |
stekern | andrzejr: yes, it's also true for spartan6 | 08:46 |
jagadeesh | adding additional gpio pins to fusesoc de0_nano system | 10:43 |
jagadeesh | Any one out there have got this working | 10:43 |
jagadeesh | I tried editing wb_intercon.conf and pin configuration. no luck yet | 10:45 |
_franck__ | jagadeesh1: did you add a new gpio controller in your top file ? | 11:36 |
jagadeesh1 | no | 11:37 |
jagadeesh1 | okay my mistake | 11:38 |
_franck__ | what do you want to do ? | 11:38 |
jagadeesh1 | add additional gpio pins to the system de0_nano | 11:38 |
_franck__ | ok so add a new gpio controller, edit wb_intercon.conf and re-generate the interconnect files with wb_intercon_gen | 11:40 |
_franck__ | https://github.com/openrisc/orpsoc-cores/blob/master/cores/wb_intercon/sw/wb_intercon_gen | 11:40 |
_franck__ | I forgot you need to add pins in pinmap.tcl | 11:40 |
jagadeesh1 | thank you frank can u please tel me where can i get a good guide to use openrisc | 11:42 |
jagadeesh1 | where did you learn all these | 11:42 |
_franck__ | well, I'm working with operisc for quite some time so I learned while trying to make thing works | 11:48 |
_franck__ | (as usual) | 11:48 |
_franck__ | look here for a tutorial: http://wiki.mintsoc.org/doku.php?id=openrisc_tutorial | 11:48 |
jagadeesh1 | thank you frank. | 11:49 |
ErikZ | Does anyone have some info on how the wishbone bus behaves when writing and reading to a byte segmentet 32 bit bus? | 14:20 |
ErikZ | AFAICT, When writing 8 bits to the bus it looks like for accessing the 4 different bytes of a 32 bit word the address is kept at the low base and the sel_i is toggled | 14:22 |
ErikZ | If i want to write byte 1 (ordered from 0 and up) of address 0. adr_i is kept at 0 and sel_i is set to 0b0100. This is then decoded by the wishbone slave. | 14:24 |
ErikZ | Now I am trying to read the same byte on the wishbone bus, but for some strange reason the adr_i is not kept at the base but is instead: adr_i = 0x1, sel_i = 0b0100 | 14:27 |
ErikZ | Is there an assymetry between how the adr_i bus is toggled when writing and reading to the same byte? | 14:28 |
_franck__ | ErikZ: http://juliusbaxter.net/openrisc-irc/%23openrisc.2015-07-27.log.html | 14:34 |
_franck__ | as stekern said :"yeah, actually, maybe it's only on stores that the lower 2 bits are masked" | 14:34 |
ErikZ | _franck__: Wow, you are a star | 14:40 |
ErikZ | Does the or12k exhibit the same behavior? What does the spec say? | 14:41 |
ErikZ | Why not X mark bit 0 and 1 instead? Then you will catch misuse of the bus during simulation and also allow the synthesizer to optimize it. | 14:59 |
_franck__ | I think or12k does that too | 15:08 |
_franck__ | if core look at wb_sel (like they must do) having bit 0 and 1 set is not big deal since they are supposed to be ignored | 15:10 |
_franck__ | I don't know if the spec tells about forcing bits [1:0] to 0 | 15:11 |
_franck__ | *something | 15:11 |
stekern | if you perform 32-bit wishbone accesses (regardless of bytesel), bit [1:0] are don't care according to the spec | 16:15 |
GeneralStupid | I have a strange question... i need a pic programmer for just one pic... do you think i could use my fpga to do that? | 18:49 |
-!- rhythmx is now known as threatbutt | 20:55 | |
andrzejr | what hdl simulators do you use with orpsoc? I see fusesoc only supports icarus verilog, modelsim and verilator. Out of these, only modelsim works with encrypted Xilinx models but the free version is only available for Windows. | 21:29 |
andrzejr | Has anyone tried using isim with fusesoc? | 21:30 |
GeneralStupid | iam using a free modelsim on linux... | 21:43 |
andrzejr | GeneralStupid, is there any free version? | 21:48 |
GeneralStupid | i think i just installed quartus there was a free version included | 21:50 |
andrzejr | ok, but I guess this version does not support Xilinx encrypted libraries, does it? | 21:51 |
GeneralStupid | possible, i'am sorry i dont know that ... | 21:52 |
-!- threatbutt is now known as rhythmx | 23:52 | |
--- Log closed Thu Aug 06 00:00:47 2015 |
Generated by irclog2html.py 2.15.2 by Marius Gedminas - find it at mg.pov.lt!