<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:"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;}
.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;}
--></style></head><body lang=DE-CH link=blue vlink="#954F72"><div class=WordSection1><p class=MsoNormal>I commented out the whole line «IF (Clock IS LSB:Object) & … END;», and it seems to work. LSV.List RISC5Top.v now generates «always @ (posedge clk) begin…»</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:paulreed@paddedcell.com">Paul Reed</a><br><b>Gesendet: </b>Samstag, 13. April 2019 01:43<br><b>An: </b><a href="mailto:oberon@lists.inf.ethz.ch">ETH Oberon and related systems</a><br><b>Betreff: </b>Re: [Oberon] Assumed issue in the Lola-2 compiler</p></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Hi R.,</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>> Both Lola-2 compilers - the one created with voc and also my C++</p><p class=MsoNormal>> version - produce exactly the same output... Both generated file</p><p class=MsoNormal>> sets show the wrong type "???" in some</p><p class=MsoNormal>> declarations; see e.g. RISC5Top.v lines 21 to 26.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Good catch! Thanks! I think at the very least, the line</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal> IF (clock IS LSB.Object) & (clock(LSB.Object).name = "clk") </p><p class=MsoNormal>THEN kind := 1; clock := NIL END ;</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>should have been removed from procedure LSC.Unit0 at the same time that </p><p class=MsoNormal>this implicit clk was deprecated elsewhere, last year. I'll look into </p><p class=MsoNormal>it further and report back. Apologies!</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I tried to compile Lolac on macos, but the tools declined due to the </p><p class=MsoNormal>deprecation of x86 in favour of x64. Why is the Makefile trying to make </p><p class=MsoNormal>a 32-bit binary?</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I tried again on a VM running Centos 7, Linux (kernel) 3.10.0, g++ (GCC) </p><p class=MsoNormal>4.8.5 20150623, and it built, but when run, e.g.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal> $ ./Lolac RISC5Top.Lola</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>it creates no output that I can find. What am I missing?</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Cheers,</p><p class=MsoNormal>Paul</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>