lekernel changed the topic of #milkymist to: Milkymist One, Migen, Milkymist SoC & Flickernoise :: Logs: http://en.qi-hardware.com/mmlogs :: EHSM Berlin Dec 28-30 http://ehsm.eu :: latest video http://www.youtube.com/playlist?list=PL181AAD8063FCC9DC
elldekaa has quit [Remote host closed the connection]
azonenberg has quit [Read error: Connection reset by peer]
azonenberg has joined #milkymist
xiangfu has joined #milkymist
xiangfu has quit [Ping timeout: 255 seconds]
xiangfu has joined #milkymist
xiangfu has quit [Ping timeout: 244 seconds]
xian9fu has joined #milkymist
xian9fu has quit [Ping timeout: 244 seconds]
xian9fu has joined #milkymist
xian9fu has quit [Ping timeout: 268 seconds]
xiangfu has joined #milkymist
xiangfu has quit [Ping timeout: 268 seconds]
xiangfu has joined #milkymist
xiangfu has quit [Ping timeout: 244 seconds]
xiangfu has joined #milkymist
Gurty has quit [Ping timeout: 255 seconds]
xiangfu has quit [Ping timeout: 244 seconds]
xiangfu has joined #milkymist
xiangfu has quit [Ping timeout: 244 seconds]
Gurty has joined #milkymist
xiangfu has joined #milkymist
xiangfu has quit [Ping timeout: 240 seconds]
xiangfu has joined #milkymist
xiangfu has quit [Ping timeout: 244 seconds]
xiangfu has joined #milkymist
xiangfu has quit [Ping timeout: 244 seconds]
xiangfu has joined #milkymist
xiangfu has quit [Ping timeout: 244 seconds]
xiangfu has joined #milkymist
xian9fu has joined #milkymist
xiangfu has quit [Ping timeout: 255 seconds]
xian9fu has quit [Ping timeout: 260 seconds]
xian9fu has joined #milkymist
<Fallenou> ISim> restart
<Fallenou> ISim> init
<Fallenou> XXXX 2 3
<Fallenou> Simulator is doing circuit initialization process.
<Fallenou> Finished circuit initialization process.
<Fallenou> that's what I get mwalle larsc
<larsc> funny
<larsc> so lm32 clog2 is catucall clog2 + 1?
<larsc> actually
<Fallenou> you need to do "-1"
<Fallenou> ah yes so if now your clog2 is correct, I guess you have an extra "-1"
<Fallenou> the line is clog2(bytes_per_line)-1-2
<Fallenou> -2 because you do 4 bytes accesses with WB
<Fallenou> and -1 because clog2 is wrong
<larsc> that would explain it
<Fallenou> totally
<Fallenou> that explains mwalle sees only 2 wishbone accesses instead of 4
xian9fu has quit [Ping timeout: 244 seconds]
<larsc> I wonder why the -1 is not done inside the function
<larsc> there is a clogb2_v1 which does it as far as i can see
<Fallenou> I think I never got it to work
<larsc> clogb2_v1?
<Fallenou> yes, I might have tried it, but since I am still using clog2 I guess it was not working
<Fallenou> not sure though
<larsc> another option would be to replace the value > 0 with value > 1 in clog2, wouldn't it?
xian9fu has joined #milkymist
<Fallenou> brb coffee
xian9fu has quit [Ping timeout: 244 seconds]
xian9fu has joined #milkymist
<mwalle> ah funny
<mwalle> good that i asked :)
<mwalle> the real fix is to replace that function by a builtin one, see https://github.com/mwalle/milkymist/commit/a083cfea0c1f9690bbf97f069f6b56389a482151
<Fallenou> you are using iverilog, right ?
<mwalle> yeah, but ise should support that too
<Fallenou> wow they waited for 14.1 to fix such a thing ...
<Fallenou> amazing
<mwalle> but that still doesnt fix my problem ;)
<mwalle> i already removed the the -1 from all clog2 calls
<Fallenou> ah ok I was not understanding why you still have the "-1" in your commit
<Fallenou> so now you got rid of it
<Fallenou> so now you should have addr_offset_width == 2 , right ?
<mwalle> probably, tried it yesterday, cant remember ;)
<mwalle> Fallenou: could you send me a vcd (isim parameter -vcdfile out.vcd) from the first few cycles, where the icache is filling and some later instructions loads hit the cache?
<mwalle> Quartus II 9.1 supports the built-in $clog2 function from Verilog 2005
<mwalle> so altera should be fine too
<mwalle> and nobody uses lattice *fg*
<mwalle> mh does lattice even have an own synthesizer?
<mwalle> or do they always use synplify?
<lekernel> mwalle: don't use 'x', it only allows for minor synthesis optimizations and can easily waste your time with weird bugs and/or simulation/synthesis mismatches
<mwalle> lekernel: that was found in the lm32 source ;)
<mwalle> and i wondered what the reason could be to assign 'x' to a register when it is reset
<lekernel> what it means for the synthesizer is it will reset that register to the value/equation that causes the least logic to be used
<lekernel> since S6 flip-flops have a dedicated reset pin, I guess this disables reset completely
<mwalle> lekernel: and if i dont reset that at all?, eg omit the line in the reset case?
<lekernel> that's fine if you don't have any code that depends on the reset value (and you probably don't, since it works with 'x')
<Fallenou> mwalle: will try to send you the VCD this afternoon
<mwalle> mh so i still have no reason why lattice put that into the source code :|
<mwalle> s/reason/explanantion/
<lekernel> maybe a coding style rule such as: "all registers should have a reset section"
<Fallenou> well it works for me using ISim
<lekernel> oh and
<Fallenou> ah you mean the 'x', yeah I don't know
<mwalle> lekernel: yeah that would also be my guess
<lekernel> isn't there a risk that latches be generated when LM32 is configured for asynchronous reset and that line is not present?
<lekernel> what would that do? http://pastebin.com/PBrYmnPe
* lekernel almost never uses async reset
<lekernel> hmm, no, I guess that works. so it's probably just coding style.
xian9fu has quit [Ping timeout: 244 seconds]
<mwalle> mh, sensitivity on posedge rst, is a noop, so should be the same like there is just 'posedge clk' as sensitivity list, shouldnt it?
voidcoder has joined #milkymist
<lekernel> yes
<mwalle> bbl
elldekaa has joined #milkymist
xian9fu has joined #milkymist
* Fallenou just had lunch with Alarm
<Fallenou> he's a teacher in a French electronic high school
<Fallenou> he would like to set up a workshop for his students using the M1 :)
<Fallenou> that's pretty cool
<Fallenou> he already has two complete Milkymist One box (with DMX spot, camera etc)
<larsc> I was first confused a bit, because I though you had a firealarm during lunch ;)
<Fallenou> ahah
<larsc> but, yea I should have noted the capital A
<lekernel> hey, is there anyone for whom http://ehsm.net/ doesn't work?
<lekernel> (the website)
<xian9fu> works fine here. 'exceptionally hard and soft meeting *2012 December 28-30 Berlin'
Gurty has quit [Ping timeout: 244 seconds]
Gurty has joined #milkymist
Grievre has joined #milkymist
<Grievre> Is navre abandoned?
<lekernel> it serves it purpose, which is to control the M1 USB ports (and not be a friendly full avr softcore)
<lekernel> its purpose
<lekernel> it's not abandoned, if you send a patch to the list i'll review it
terpstra_ has joined #milkymist
xian9fu has quit [Read error: Connection reset by peer]
x1angfu has joined #milkymist
x1angfu has quit [Ping timeout: 244 seconds]
<Fallenou> the website works fine for me lekernel (ehsm)
x1angfu has joined #milkymist
<Grievre> lekernel: also the opencores svn browse goes nowhere useful. This isn't your fault/responsibility but I was wondering if the solution was well-known
voidcoder has quit [Quit: Do widzenia!]
<larsc> lekernel: A few days ago ehsm.net did not work, now it works fine though
<lekernel> Grievre: all milkymist source is on github, not OC
terpstra_ has quit [Quit: Leaving]
x1angfu has quit [Ping timeout: 244 seconds]
<Grievre> lekernel: oh, where's the navre code hiding?
<Grievre> oh, obviously
<kristianpaul> is m1 abandoned i sent a patch for expand csr 1 bit but.. :(
<kristianpaul> ?¿
<kristianpaul> m1 soc*
<kristianpaul> sorry
<Grievre> the whole core is a single .v file o.o
<Grievre> I can see the advantage to that but it seems like it would make testing difficult
<lekernel> kristianpaul: this feature is in -ng, what are you complaining about? :)
<kristianpaul> is not in soc
<kristianpaul> and yes i complain because you dont seem care about m1 legacy soc
<kristianpaul> and just push push ans push about -ng but dont hear about more about
<kristianpaul> but is okay i just wanted to say hello ;)
<larsc> kristianpaul: fork it!
elldekaa has quit [Remote host closed the connection]
voidcoder has joined #milkymist
jimmythehorn has joined #milkymist
elldekaa has joined #milkymist
Alarm has joined #milkymist
mumptai has joined #milkymist
lekernel has quit [Ping timeout: 240 seconds]
lekernel has joined #milkymist
paraboul_ has joined #milkymist
paraboul has quit [Ping timeout: 240 seconds]
voidcoder has quit [Read error: Connection reset by peer]
voidcoder has joined #milkymist
Alarm has quit [Quit: ChatZilla 0.9.89 [Firefox 16.0.1/20121010144125]]
voidcoder has quit [Read error: Connection reset by peer]
mumptai has quit [Ping timeout: 244 seconds]
voidcoder has joined #milkymist
Hawk777 has quit [Quit: Coyote finally caught me]
Hawk777 has joined #milkymist
dvdk has joined #milkymist
Gurty has quit [Ping timeout: 244 seconds]
Gurty has joined #milkymist
elldekaa has quit [Ping timeout: 252 seconds]
elldekaa has joined #milkymist
elldekaa has quit [Remote host closed the connection]