OpenRISC Digest, Vol 27, Issue 1
A message that is not in the archive (sent off-list or not yet received): [email protected]
Thank you for your return.
I am working on OR1200, the version available at
https://github.com/openrisc/or1200
2018-05-03 13:00 GMT+03:00 <[email protected]>:
Quoted 167 lines
Send OpenRISC mailing list submissions to
openrisc at lists.librecores.orgTo subscribe or unsubscribe via the World Wide Web, visit
https://lists.librecores.org/listinfo/openrisc
or, via email, send a message with subject or body 'help' to
openrisc-request at lists.librecores.orgYou can reach the person managing the list at
openrisc-owner at lists.librecores.orgWhen replying, please edit your Subject line so it is more specific than "Re: Contents of OpenRISC digest..."
Today's Topics:
1. Data cache forcing thaw on pipeline, causing cancellation of delay slot insn. Why? (Burkay Sabırsız)
2. Re: Data cache forcing thaw on pipeline, causing cancellation of delay slot insn. Why? (Jeremy Bennett)----------------------------------------------------------------------
Message: 1
Date: Thu, 3 May 2018 03:36:07 +0300
From: Burkay Sabırsız <[email protected]>
To: openrisc at lists.librecores.org
Subject: [OpenRISC] Data cache forcing thaw on pipeline, causing
cancellation of delay slot insn. Why?
Message-ID:
<CAFvNzgNgG45vqgixdoh5xicx6-21qxUSuWvSZUk_OyfeMAxd2Q@mail.
gmail.com>
Content-Type: text/plain; charset="utf-8"My final year project is to prepare a document on the Openrisc source
code. As I read and understand the source, I comment it and draw diagrams which show the inner workings of the modules and their interconnections. If we understand it sufficiently, we will put our commented version to the internet, together with the diagrams.Mostly, the source follows the pipelined processor described in Henessy and Patterson's textbook, and it is very easy to understand. Unfortunately, there are a few mysterious signals whose purpose are totally opaque to us. Two signals in particular are very hard to interpret:
wait_lsuandlsu_unstall. So I ventured to ask about them here..
lsu_unstallseems to work like this: if here isif_stallandlsu_stallat the same time, but lsu unit thaws without if unit thawing (e, noicpu_ack_i),lsu_unstallmoves the whole pipeline for one cycle, and inserts a {`OR1200_OR32_NOP, 26'h061_0000}. In case this nop is inserted between a jump instruction and the following delay slot,no_more_dslotsignal is not asserted when the jump instruction comes to the execution stage.Question 1: is this interpretation correct?
Question 2: If correct, why we thaw the pipeline for just one cycle when data from dcache arrives?Question 3: What is the race condition that gave rise to the
wait_lsusignal? That race condition must be very subtle, aswait_lsuis added to the source much later. I have found some discussion ofwait_lsuon internet but I couldnt understand it fully.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.librecores.org/pipermail/openrisc/
attachments/20180503/1ebaecf1/attachment-0001.html>------------------------------
Message: 2
Date: Thu, 3 May 2018 08:53:19 +0100
From: Jeremy Bennett <[email protected]>
To: openrisc at lists.librecores.org
Subject: Re: [OpenRISC] Data cache forcing thaw on pipeline, causing
cancellation of delay slot insn. Why?
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1Quoted 6 lines · Burkay Sabırsız
My final year project is to prepare a document on the Openrisc source code. As I read and understand the source, I comment it and draw diagrams which show the inner workings of the modules and their interconnections. If we understand it sufficiently, we will put our commented version to the internet, together with the diagrams.
Hi Burkay,
Good luck with this project. I look forward to your documentation being published, since it will help many others.
You need to be clear which version of OpenRISC you are working from, since it continues to be refined. I believe the latest implementation is Julius Baxter's mor1kx, but others on this mailing list can give you a definitive guide.
Best wishes,
Jeremy
Quoted 29 lines
Mostly, the source follows the pipelined processor described in Henessy and Patterson's textbook, and it is very easy to understand. Unfortunately, there are a few mysterious signals whose purpose are totally opaque to us. Two signals in particular are very hard to interpret:
wait_lsuandlsu_unstall. So I ventured to ask about them here..
lsu_unstallseems to work like this: if here isif_stallandlsu_stallat the same time, but lsu unit thaws without if unit thawing (e, noicpu_ack_i),lsu_unstallmoves the whole pipeline for one cycle, and inserts a {`OR1200_OR32_NOP, 26'h061_0000}. In case this nop is inserted between a jump instruction and the following delay slot,no_more_dslotsignal is not asserted when the jump instruction comes to the execution stage.Question 1: is this interpretation correct? Question 2: If correct, why we thaw the pipeline for just one cycle when data from dcache arrives?
Question 3: What is the race condition that gave rise to the
wait_lsusignal? That race condition must be very subtle, aswait_lsuis added to the source much later. I have found some discussion ofwait_lsuon internet but I couldnt understand it fully.Quoted 4 lines
_______________________________________________ OpenRISC mailing list OpenRISC at lists.librecores.org
https://lists.librecores.org/listinfo/openrisc- --
Tel: +44 (1590) 610184 Cell: +44 (7970) 676050 SkypeID: jeremybennett Twitter: @jeremypbennett Email: jeremy.bennett at embecosm.com Web: www.embecosm.com PGP key: 1024D/BEF58172FB4754E1 2009-03-20-----BEGIN PGP SIGNATURE-----
iEYEARECAAYFAlrqv+4ACgkQvvWBcvtHVOGRwQCaAtxWFN2mIjv9emFIgV5s010i rXsAoINi0VZZphcqnoz5I0j9FG3Xn96c
=tzl4
-----END PGP SIGNATURE-----------------------------------
Subject: Digest Footer
_______________________________________________
OpenRISC mailing list
OpenRISC at lists.librecores.org
https://lists.librecores.org/listinfo/openrisc
Quoted 5 lines
------------------------------
End of OpenRISC Digest, Vol 27, Issue 1
***************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.librecores.org/pipermail/openrisc/attachments/20180503/77948a0c/attachment.html>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I am pretty certain this is the original OR1200 implementation, which is nearly 20 years old! You'll see the last patch was well over two years ago!
I recommend you work on mor1kx:
https://github.com/openrisc/mor1kx
It is much more up to date. I don't know if there are more recent implementations.
Best wishes,
Jeremy
Quoted 45 lines · Burkay Sabırsız
Thank you for your return.
I am working on OR1200, the version available at
https://github.com/openrisc/or12002018-05-03 13:00 GMT+03:00 <[email protected] <mailto:[email protected]>>:
Send OpenRISC mailing list submissions to
openrisc at lists.librecores.org
<mailto:[email protected]>To subscribe or unsubscribe via the World Wide Web, visit
https://lists.librecores.org/listinfo/openrisc
<https://lists.librecores.org/listinfo/openrisc> or, via email, send a message with subject or body 'help' to openrisc-request at lists.librecores.org <mailto:[email protected]>You can reach the person managing the list at
openrisc-owner at lists.librecores.org
<mailto:[email protected]>When replying, please edit your Subject line so it is more specific than "Re: Contents of OpenRISC digest..."
Today's Topics:
1. Data cache forcing thaw on pipeline, causing cancellation of delay slot insn. Why? (Burkay Sabırsız) 2. Re: Data cache forcing thaw on pipeline, causing cancellation of delay slot insn. Why? (Jeremy Bennett)
----------------------------------------------------------------------
Message: 1 Date: Thu, 3 May 2018 03:36:07 +0300 From: Burkay
Sabırsız <[email protected] <mailto:[email protected]>> To:
openrisc at lists.librecores.org <mailto:[email protected]> Subject: [OpenRISC] Data cache forcing thaw on pipeline, causing cancellation of delay slot insn. Why? Message-ID:
Quoted 3 lines
<CAFvNzgNgG45vqgixdoh5xicx6-21qxUSuWvSZUk_OyfeMAxd2Q@mail.gmail.com
<mailto:CAFvNzgNgG45vqgixdoh5xicx6-21qxUSuWvSZUk_OyfeMAxd2Q@mail.gmail.com>>
Quoted 30 lines
Content-Type: text/plain; charset="utf-8"
My final year project is to prepare a document on the Openrisc source code. As I read and understand the source, I comment it and draw diagrams which show the inner workings of the modules and their interconnections. If we understand it sufficiently, we will put our commented version to the internet, together with the diagrams.
Mostly, the source follows the pipelined processor described in Henessy and Patterson's textbook, and it is very easy to understand. Unfortunately, there are a few mysterious signals whose purpose are totally opaque to us. Two signals in particular are very hard to interpret:
wait_lsuandlsu_unstall. So I ventured to ask about them here..
lsu_unstallseems to work like this: if here isif_stallandlsu_stallat the same time, but lsu unit thaws without if unit thawing (e, noicpu_ack_i),lsu_unstallmoves the whole pipeline for one cycle, and inserts a {`OR1200_OR32_NOP, 26'h061_0000}. In case this nop is inserted between a jump instruction and the following delay slot,no_more_dslotsignal is not asserted when the jump instruction comes to the execution stage.Question 1: is this interpretation correct? Question 2: If correct, why we thaw the pipeline for just one cycle when data from dcache arrives?
Quoted 9 lines
Question 3: What is the race condition that gave rise to the
wait_lsusignal? That race condition must be very subtle, aswait_lsuis added to the source much later. I have found some discussion ofwait_lsuon internet but I couldnt understand it fully. -------------- next part -------------- An HTML attachment was scrubbed... URL:
<http://lists.librecores.org/pipermail/openrisc/attachments/20180503/1ebaecf1/attachment-0001.html
<http://lists.librecores.org/pipermail/openrisc/attachments/20180503/1ebaecf1/attachment-0001.html>>
Quoted 93 lines
------------------------------
Message: 2 Date: Thu, 3 May 2018 08:53:19 +0100 From: Jeremy Bennett <[email protected] <mailto:[email protected]>> To:
openrisc at lists.librecores.org <mailto:[email protected]> Subject: Re: [OpenRISC] Data cache forcing thaw on pipeline, causing cancellation of delay slot insn. Why? Message-ID:
<[email protected] <mailto:[email protected]>>
Content-Type: text/plain; charset=utf-8Quoted 6 lines · Burkay Sabırsız
My final year project is to prepare a document on the Openrisc source code. As I read and understand the source, I comment it and draw diagrams which show the inner workings of the modules and their interconnections. If we understand it sufficiently, we will put our commented version to the internet, together with the diagrams.
Hi Burkay,
Good luck with this project. I look forward to your documentation being published, since it will help many others.
You need to be clear which version of OpenRISC you are working from, since it continues to be refined. I believe the latest implementation is Julius Baxter's mor1kx, but others on this mailing list can give you a definitive guide.
Best wishes,
Jeremy
Quoted 27 lines
Mostly, the source follows the pipelined processor described in Henessy and Patterson's textbook, and it is very easy to understand. Unfortunately, there are a few mysterious signals whose purpose are totally opaque to us. Two signals in particular are very hard to interpret:
wait_lsuandlsu_unstall. So I ventured to ask about them here..
lsu_unstallseems to work like this: if here isif_stallandlsu_stallat the same time, but lsu unit thaws without if unit thawing (e, noicpu_ack_i),lsu_unstallmoves the whole pipeline for one cycle, and inserts a {`OR1200_OR32_NOP, 26'h061_0000}. In case this nop is inserted between a jump instruction and the following delay slot,no_more_dslotsignal is not asserted when the jump instruction comes to the execution stage.Question 1: is this interpretation correct? Question 2: If correct, why we thaw the pipeline for just one cycle when data from dcache arrives?
Question 3: What is the race condition that gave rise to the
wait_lsusignal? That race condition must be very subtle, aswait_lsuis added to the source much later. I have found some discussion ofwait_lsuon internet but I couldnt understand it fully.Quoted 2 lines
_______________________________________________ OpenRISC mailing list OpenRISC at lists.librecores.org
<mailto:[email protected]>
Quoted 1 line
<https://lists.librecores.org/listinfo/openrisc>
------------------------------
Subject: Digest Footer
_______________________________________________ OpenRISC mailing list OpenRISC at lists.librecores.org <mailto:[email protected]>
https://lists.librecores.org/listinfo/openrisc
<https://lists.librecores.org/listinfo/openrisc>------------------------------
End of OpenRISC Digest, Vol 27, Issue 1
***************************************
Quoted 4 lines
_______________________________________________ OpenRISC mailing list OpenRISC at lists.librecores.org
https://lists.librecores.org/listinfo/openrisc
- --
Tel: +44 (1590) 610184 Cell: +44 (7970) 676050 SkypeID: jeremybennett Twitter: @jeremypbennett Email: jeremy.bennett at embecosm.com Web: www.embecosm.com PGP key: 1024D/BEF58172FB4754E1 2009-03-20
-----BEGIN PGP SIGNATURE-----
iEYEARECAAYFAlrrGpgACgkQvvWBcvtHVOFcmwCeNr3+6mCWE+zjMEi8T9bP1gPD lGkAn2PIo1pxmLvHoAulQcaVsN/ybfLq
=zbSJ
-----END PGP SIGNATURE-----
I agree with Jeremy. There is probably no one around anymore who really understands or1200. mor1kx was created partly to be more understandable than or1200 and we are still maintaining that core
//Olof
Quoted 220 lines · Jeremy Bennett
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1I am pretty certain this is the original OR1200 implementation, which is nearly 20 years old! You'll see the last patch was well over two years ago!
I recommend you work on mor1kx:
https://github.com/openrisc/mor1kx
It is much more up to date. I don't know if there are more recent implementations.
Best wishes,
Jeremy
Quoted 45 lines · Burkay Sabırsız
Thank you for your return.
I am working on OR1200, the version available at
https://github.com/openrisc/or12002018-05-03 13:00 GMT+03:00 <[email protected] <mailto:[email protected]>>:
Send OpenRISC mailing list submissions to
openrisc at lists.librecores.org
<mailto:[email protected]>To subscribe or unsubscribe via the World Wide Web, visit
https://lists.librecores.org/listinfo/openrisc
<https://lists.librecores.org/listinfo/openrisc> or, via email, send a message with subject or body 'help' to openrisc-request at lists.librecores.org <mailto:[email protected]>You can reach the person managing the list at
openrisc-owner at lists.librecores.org
<mailto:[email protected]>When replying, please edit your Subject line so it is more specific than "Re: Contents of OpenRISC digest..."
Today's Topics:
1. Data cache forcing thaw on pipeline, causing cancellation of delay slot insn. Why? (Burkay Sabırsız) 2. Re: Data cache forcing thaw on pipeline, causing cancellation of delay slot insn. Why? (Jeremy Bennett)
----------------------------------------------------------------------
Message: 1 Date: Thu, 3 May 2018 03:36:07 +0300 From: Burkay
Sabırsız <[email protected] <mailto:[email protected]>> To:
openrisc at lists.librecores.org <mailto:[email protected]> Subject: [OpenRISC] Data cache forcing thaw on pipeline, causing cancellation of delay slot insn. Why? Message-ID:Quoted 3 lines
<CAFvNzgNgG45vqgixdoh5xicx6-21qxUSuWvSZUk_OyfeMAxd2Q@mail.gmail.com
<mailto:CAFvNzgNgG45vqgixdoh5xicx6-21qxUSuWvSZUk_OyfeMAxd2Q@mail.gmail.com
Quoted 31 lines
Quoted 1 line
Content-Type: text/plain; charset="utf-8"
My final year project is to prepare a document on the Openrisc source code. As I read and understand the source, I comment it and draw diagrams which show the inner workings of the modules and their interconnections. If we understand it sufficiently, we will put our commented version to the internet, together with the diagrams.
Mostly, the source follows the pipelined processor described in Henessy and Patterson's textbook, and it is very easy to understand. Unfortunately, there are a few mysterious signals whose purpose are totally opaque to us. Two signals in particular are very hard to interpret:
wait_lsuandlsu_unstall. So I ventured to ask about them here..
lsu_unstallseems to work like this: if here isif_stallandlsu_stallat the same time, but lsu unit thaws without if unit thawing (e, noicpu_ack_i),lsu_unstallmoves the whole pipeline for one cycle, and inserts a {`OR1200_OR32_NOP, 26'h061_0000}. In case this nop is inserted between a jump instruction and the following delay slot,no_more_dslotsignal is not asserted when the jump instruction comes to the execution stage.Question 1: is this interpretation correct? Question 2: If correct, why we thaw the pipeline for just one cycle when data from dcache arrives?
Quoted 7 lines
Question 3: What is the race condition that gave rise to the
wait_lsusignal? That race condition must be very subtle, aswait_lsuis added to the source much later. I have found some discussion ofwait_lsuon internet but I couldnt understand it fully. -------------- next part -------------- An HTML attachment was scrubbed... URL:
<http://lists.librecores.org/pipermail/openrisc/attachments/20180503/1ebaecf1/attachment-0001.html
Quoted 2 lines
<http://lists.librecores.org/pipermail/openrisc/
attachments/20180503/1ebaecf1/attachment-0001.html>>Quoted 93 lines
------------------------------
Message: 2 Date: Thu, 3 May 2018 08:53:19 +0100 From: Jeremy Bennett <[email protected] <mailto:[email protected]>> To:
openrisc at lists.librecores.org <mailto:[email protected]> Subject: Re: [OpenRISC] Data cache forcing thaw on pipeline, causing cancellation of delay slot insn. Why? Message-ID:
<[email protected] <mailto:[email protected]>>
Content-Type: text/plain; charset=utf-8Quoted 6 lines · Burkay Sabırsız
My final year project is to prepare a document on the Openrisc source code. As I read and understand the source, I comment it and draw diagrams which show the inner workings of the modules and their interconnections. If we understand it sufficiently, we will put our commented version to the internet, together with the diagrams.
Hi Burkay,
Good luck with this project. I look forward to your documentation being published, since it will help many others.
You need to be clear which version of OpenRISC you are working from, since it continues to be refined. I believe the latest implementation is Julius Baxter's mor1kx, but others on this mailing list can give you a definitive guide.
Best wishes,
Jeremy
Quoted 27 lines
Mostly, the source follows the pipelined processor described in Henessy and Patterson's textbook, and it is very easy to understand. Unfortunately, there are a few mysterious signals whose purpose are totally opaque to us. Two signals in particular are very hard to interpret:
wait_lsuandlsu_unstall. So I ventured to ask about them here..
lsu_unstallseems to work like this: if here isif_stallandlsu_stallat the same time, but lsu unit thaws without if unit thawing (e, noicpu_ack_i),lsu_unstallmoves the whole pipeline for one cycle, and inserts a {`OR1200_OR32_NOP, 26'h061_0000}. In case this nop is inserted between a jump instruction and the following delay slot,no_more_dslotsignal is not asserted when the jump instruction comes to the execution stage.Question 1: is this interpretation correct? Question 2: If correct, why we thaw the pipeline for just one cycle when data from dcache arrives?
Question 3: What is the race condition that gave rise to the
wait_lsusignal? That race condition must be very subtle, aswait_lsuis added to the source much later. I have found some discussion ofwait_lsuon internet but I couldnt understand it fully.Quoted 2 lines
_______________________________________________ OpenRISC mailing list OpenRISC at lists.librecores.org
<mailto:[email protected]>
Quoted 1 line
<https://lists.librecores.org/listinfo/openrisc>
------------------------------
Subject: Digest Footer
_______________________________________________ OpenRISC mailing list OpenRISC at lists.librecores.org <mailto:[email protected]>
https://lists.librecores.org/listinfo/openrisc
<https://lists.librecores.org/listinfo/openrisc>------------------------------
End of OpenRISC Digest, Vol 27, Issue 1
***************************************Quoted 4 lines
_______________________________________________ OpenRISC mailing list OpenRISC at lists.librecores.org
https://lists.librecores.org/listinfo/openrisc- --
Tel: +44 (1590) 610184 Cell: +44 (7970) 676050 SkypeID: jeremybennett Twitter: @jeremypbennett Email: jeremy.bennett at embecosm.com Web: www.embecosm.com PGP key: 1024D/BEF58172FB4754E1 2009-03-20-----BEGIN PGP SIGNATURE-----
Quoted 9 lines
iEYEARECAAYFAlrrGpgACgkQvvWBcvtHVOFcmwCeNr3+6mCWE+zjMEi8T9bP1gPD lGkAn2PIo1pxmLvHoAulQcaVsN/ybfLq
=zbSJ
-----END PGP SIGNATURE-----
_______________________________________________
OpenRISC mailing list
OpenRISC at lists.librecores.org
https://lists.librecores.org/listinfo/openrisc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.librecores.org/pipermail/openrisc/attachments/20180503/0fc28559/attachment.html>