IRC logs for #openrisc Thursday, 2014-11-06

--- Log opened Thu Nov 06 00:00:16 2014 93MB. Not really better01:24
stekernpoke53282: yeah, I know, there's that limit. shouldn't be insanely hard to fix.05:36
stekernisn't that's what the difference between -fpic and -fPIC is for btw?05:36
stekern-fpic is short range and -fPIC is long range05:39
poke53282I didn't know, that there is a difference.05:46
poke53282Never heard of a difference between pic and PIC.05:46
olofkAnyone handy with PDF reformatting here? I have a PDF document with portrait pages, but the content is landscape, so when I print it there are huge borders08:39
olofkok, crappy solution of the month. Import pdf into Libreoffice Draw. Change page size from portrait a4 to landscape a5. Manually move the contents back into the visible area, export as PDF and upscale to A4 in PDF viewer print dialog09:26
olofkI feel like a windows user :(09:26
olofkmaxpaln: Read about your bfm improvements. Good news. Got anything to share?09:34
stekernolofk: but a power windows user10:29
stekernmy wife would have took a photo of the screen and then printed that10:30
maxpalnolofk: yes, I think so - my testing has been limited so I would say there is a fair chance of there being bugs and/or cases that I haven't thought of. I have also canibalised several of the existing functions for burst write and read from wb_bfm_master so at the moment you can't have both sets of files compiled at the same time. But it appears to be behaving correctly. I'll package something10:45
maxpalnup shortly and share (probably via dropbox or something unless there is a preferred route)10:45
olofkmaxpaln: Dropbox is fine. Just interested in trying it out for now. We can clean it up later11:03
olofkstekern: She would probably have been done faster and spent less time crying than I did11:03
-!- aburgess_ is now known as aburgess11:14
maxpalnolofk: here is a zip of the backend directory (you should recognise stuff in here - it's the same directory structure as you pointed me at ages ago for your original code). I've also included my testbench as it shows how i've instantiated the testbench. There are some top level parameters for controlling transaction and subtransaction numbers. I'll be interested to see if it works for you11:34
maxpalntoo!! :-)11:34
maxpalnI need to pop out for a few hours - I'll be back online to answer questions then11:34
maxpalnOooops, forgot the link - here it is:
olofkThat was my first question :)11:35
olofkI'll tell you when I have taken it for a spin11:35
maxpalnI've added several levels of verbosity to the output debug - setting VERBOSE to 3 gives you the most, Its probably needed for debugging problems11:38
olofkmaxpaln: Great. I like multiple verbosity levels11:55
olofkmaxpaln: I see that you are using 2d arrays in the task headers. I'm a bit worried that the tools we use don't support enough systemverilog yet12:35
olofkSupporting 2d arrays as wires and regs, but not in module, function or task headers is on my top 5 list of retarded design decisions in verilog12:37
LoneTechis the implicit declaration up there too?12:43
olofkLoneTech: Absolutely12:54
maxpalnolofk: those tasks are proving to be a PITA - they contain a mixture of blocking and non-blocking assignments, it was a pain to unpick the sequence of events13:24
maxpalnI didn't realise 2d arrays in task headers was a systemverilog thing -13:25
maxpalnone of my favourite additions to Verilog 2000 was the none qualifier for the `default_nettype directive13:28
maxpalnit eliminates impicit declarations! :-)13:28
LoneTechthat is actually in verilog 2005, though I suspect implementation is spotty, as with `unconnected_drive13:29
maxpalnI've found it works well in Modelsim, Active-HDL etc. I am not sure about broader support.13:36
maxpalnolofk: are you able to use the code with 2d arrays? It may be possible to move them to the module declarations if not.13:36
maxpalnFYI, I am finding this new randomised test very enlightening - 3 corner case bugs found now!!!15:08
juliusbconstrained random FTW15:45
maxpalnit's almost like those verification guys know what they're talking about :-)15:51
poke53282olofk: Try inkscape17:14
poke53282stekern: Can you try this code please:
poke53282Might be a problem with my filesystem.18:43
poke53282you might have to increase the name field "char name[64]"18:48
olofkmaxpaln: Yes. The BFM code is extremely unreadable, and I'm finding it very hard to debug. Not my proudest moment :)20:19
olofkmaxpaln: Both icarus and my Modelsim Altera edition chokes on the syntax :(20:44
olofkmafm: Adding the -sv switch to modelsim works better21:13
olofkI mean maxpaln21:14
olofkI was hoping that Icarus would handle enough sv by now :/21:14
olofkUsing Icarus from git doesn't help21:55
--- Log closed Fri Nov 07 00:00:17 2014

Generated by 2.15.2 by Marius Gedminas - find it at!