<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin-top:0cm;
margin-right:0cm;
margin-bottom:0cm;
margin-left:36.0pt;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:1959027352;
mso-list-type:hybrid;
mso-list-template-ids:1625882366 -1 67567619 67567621 67567617 67567619 67567621 67567617 67567619 67567621;}
@list l0:level1
{mso-level-start-at:0;
mso-level-number-format:bullet;
mso-level-text:-;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-font-family:"Times New Roman";}
@list l0:level2
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:"Courier New";}
@list l0:level3
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Wingdings;}
@list l0:level4
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Symbol;}
@list l0:level5
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:"Courier New";}
@list l0:level6
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Wingdings;}
@list l0:level7
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Symbol;}
@list l0:level8
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:"Courier New";}
@list l0:level9
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Wingdings;}
ol
{margin-bottom:0cm;}
ul
{margin-bottom:0cm;}
--></style></head><body lang=DE-CH link=blue vlink="#954F72"><div class=WordSection1><p class=MsoNormal>MouseP.Lola</p><p class=MsoNormal>One might debate whether -536 is wrong. Let’s agree on: it’s unusual.</p><p class=MsoNormal>You can influence the output a little by adding a length to it:</p><ul style='margin-top:0cm' type=disc><li class=MsoListParagraph style='margin-left:0cm;mso-list:l0 level1 lfo1'>with lenght, LSV writes a hex value</li><li class=MsoListParagraph style='margin-left:0cm;mso-list:l0 level1 lfo1'>without length, LSV writes a decimal value</li></ul><p class=MsoNormal>Instead of </p><p class=MsoNormal> shreg := <span lang=DE>~</span>rst -> 0FFFFFDE8H:</p><p class=MsoNormal>write</p><p class=MsoNormal> shreg := ~rst -> 0FFFFFDE8H’32:</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>SPI.Lola</p><p class=MsoNormal>Yes, should be 0FFFFFFFFH’32</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>br</p><p class=MsoNormal>Jörg</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Gesendet von <a href="https://go.microsoft.com/fwlink/?LinkId=550986">Mail</a> für Windows 10</p><p class=MsoNormal><o:p> </o:p></p><div style='mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal style='border:none;padding:0cm'><b>Von: </b><a href="mailto:rochus.keller@bluewin.ch">rochus.keller@bluewin.ch</a><br><b>Gesendet: </b>Samstag, 13. April 2019 13:22<br><b>An: </b><a href="mailto:oberon@lists.inf.ethz.ch">oberon@lists.inf.ethz.ch</a><br><b>Betreff: </b>[Oberon] Assumed issue in the Lola-2 compiler</p></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I updated LSC.Mod with the proposed changes and regenerated and uploaded the C++ version of the compiler. </p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>The generated Verilog files now look much better, see https://github.com/rochus-keller/Lolac/tree/master/Examples/RISC5_translated</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>There are two other issues though:</p><p class=MsoNormal>- In MouseP.v line 27 column 45 the hex value was not properly generated</p><p class=MsoNormal>- SPI.Lola has invalid syntax on line 23</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I didn't do a cross-validation with another Lola-2 compiler yet so the reason for the first issue could also be my transpiler.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>@ Jörg Straube: would you mind sending me the Verilog files generated with your version of the Lola-2 compiler so I could use them for cross validation, thanks.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Btw I track the changes to the Oberon version of the Lola-2 compiler here: https://github.com/rochus-keller/Lolac/tree/master/Original</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Best</p><p class=MsoNormal>R.K.</p><p class=MsoNormal>--</p><p class=MsoNormal>Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems</p><p class=MsoNormal>https://lists.inf.ethz.ch/mailman/listinfo/oberon</p><p class=MsoNormal><o:p> </o:p></p></div></body></html>