1/1
MOR1K 4.1 vs OR1200
by suelin on Jan 27, 2016 |
suelin
Posts: 3 Joined: Sep 11, 2014 Last seen: Mar 5, 2016 |
||
Hi, I used a matrix multiplication and take the time of a execution in both of softcores and executing the algorithm on MOR1K the performance is twice faster than on OR1200, someone knows why the MOR1K is much better than OR1200?
|
RE: MOR1K 4.1 vs OR1200
by olof on Jan 27, 2016 |
olof
Posts: 218 Joined: Feb 10, 2010 Last seen: Dec 17, 2018 |
||
I'm happy to hear that. The mor1kx was rewritten from scratch to be better, smaller and faster. It seems like the hard work has paid off :)
|
RE: MOR1K 4.1 vs OR1200
by suelin on Jan 27, 2016 |
suelin
Posts: 3 Joined: Sep 11, 2014 Last seen: Mar 5, 2016 |
||
But it's twice faster than OR1200 because of the six stage pipeline? (Sorry,I forgot to say that I'm using the mor1k4.1 cappuccino).
|
RE: MOR1K 4.1 vs OR1200
by nick02 on Jan 29, 2016 |
nick02
Posts: 9 Joined: Oct 21, 2014 Last seen: Dec 22, 2016 |
||
Hi suelin,
Did you run the same romcode(instructions) in mor1kx and or1200 tests? I run rtl simulation to observe the behavior. In or1200(cache disabled) environment, it's 3 wb_clk cycles per instruction execution. In or1200(cache enabled) environment, it's 4 wb_clk cycles per instruction execution. In mor1kx(cappuccino) environment, it's 5~6 wb_clk cycles per instruction execution. Nick |
RE: MOR1K 4.1 vs OR1200
by suelin on Jan 29, 2016 |
suelin
Posts: 3 Joined: Sep 11, 2014 Last seen: Mar 5, 2016 |
||
Hi Nick!
So, the ROM is the same on OR1200 and MOR1KX. Other observation that I forgot to do is that I'm using the board Atlys. Suelin |
RE: MOR1K 4.1 vs OR1200
by olof on Jan 30, 2016 |
olof
Posts: 218 Joined: Feb 10, 2010 Last seen: Dec 17, 2018 |
||
It's hard to say exactly why there is such a large difference. mor1kx is faster, but it could also be different cache sizes, more efficient memory accesses, serial vs parallel multipliers and plenty of other things.
Anyhow, or1200 isn't actively developed anymore, so we would recommend you to move to mor1kx anyway //Olof |
1/1