<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Riscv-Cpu-Sim on Ampsand</title>
		<link>https://dean.sellers.id.au/tags/riscv-cpu-sim/</link>
		<description>Recent content in Riscv-Cpu-Sim on Ampsand</description>
		<generator>Hugo</generator>
		<language>en-AU</language>
		
		
		
			<copyright>Dean Sellers</copyright>
		
		
			<lastBuildDate>Thu, 29 Oct 2026 12:04:08 +1100</lastBuildDate>
		
			<atom:link href="https://dean.sellers.id.au/tags/riscv-cpu-sim/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Simulator 4: The tick that was 25 times too fast</title>
				<link>https://dean.sellers.id.au/2026/10/19/sim-04-the-tick-25-times-too-fast/</link>
				<pubDate>Mon, 19 Oct 2026 00:25:00 +1100</pubDate>
				<guid>https://dean.sellers.id.au/2026/10/19/sim-04-the-tick-25-times-too-fast/</guid>
				<description>&lt;p class=&#34;post-subtitle&#34;&gt;The tick that was 25 times too fast, and a simulator that found it by accident&lt;/p&gt;&lt;p&gt;&lt;em&gt;Part 4 of the simulator thread. Previously: &lt;a href=&#34;https://dean.sellers.id.au/2026/10/18/sim-03-a-second-opinion/&#34;&gt;A second opinion&lt;/a&gt;. The other thread is the &lt;a href=&#34;https://dean.sellers.id.au/tags/riscv-cpu/&#34;&gt;RISC-V soft core&lt;/a&gt; series.&lt;/em&gt;&lt;/p&gt;&#xA;&lt;p&gt;By the time I had two simulators I thought I had the design well covered. The Alchitry simulator ran the Lucid, and Yosys ran the Verilog, and I had checked them against a model and against each other. Then I ran a third one, for fun, and it found something neither of them could.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Simulator 3: A second opinion</title>
				<link>https://dean.sellers.id.au/2026/10/18/sim-03-a-second-opinion/</link>
				<pubDate>Sun, 18 Oct 2026 22:00:00 +1100</pubDate>
				<guid>https://dean.sellers.id.au/2026/10/18/sim-03-a-second-opinion/</guid>
				<description>&lt;p class=&#34;post-subtitle&#34;&gt;A second opinion, and a mutation that failed for the wrong reason&lt;/p&gt;&lt;p&gt;&lt;em&gt;Part 3 of the simulator thread. Previously: &lt;a href=&#34;https://dean.sellers.id.au/2026/10/18/sim-02-a-simulator-that-lies/&#34;&gt;A simulator that lies&lt;/a&gt;. The other thread is the &lt;a href=&#34;https://dean.sellers.id.au/tags/riscv-cpu/&#34;&gt;RISC-V soft core&lt;/a&gt; series.&lt;/em&gt;&lt;/p&gt;&#xA;&lt;p&gt;If the main simulator is a sample and not a verdict, I need a second one. Not a copy of the first, which would share its faults, but a simulator that gets things wrong in different places, or not at all.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Simulator 2: A simulator that lies</title>
				<link>https://dean.sellers.id.au/2026/10/18/sim-02-a-simulator-that-lies/</link>
				<pubDate>Sun, 18 Oct 2026 21:00:00 +1100</pubDate>
				<guid>https://dean.sellers.id.au/2026/10/18/sim-02-a-simulator-that-lies/</guid>
				<description>&lt;p class=&#34;post-subtitle&#34;&gt;A simulator that lies, and a mutation that should not have failed&lt;/p&gt;&lt;p&gt;&lt;em&gt;Part 2 of the simulator thread. Previously: &lt;a href=&#34;https://dean.sellers.id.au/2026/10/18/sim-01-284-hz/&#34;&gt;Why the IDE simulates at 284 Hz&lt;/a&gt;. The other thread is the &lt;a href=&#34;https://dean.sellers.id.au/tags/riscv-cpu/&#34;&gt;RISC-V soft core&lt;/a&gt; series.&lt;/em&gt;&lt;/p&gt;&#xA;&lt;p&gt;In &lt;a href=&#34;https://dean.sellers.id.au/2026/10/18/riscv-02-tests-that-can-fail/&#34;&gt;part 2 of the CPU series&lt;/a&gt; I said to break your design on purpose and watch the right test fail. This is the story of a break where the test failed and my reasoning said it should not have.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Simulator 1: Why the IDE simulates at 284 Hz</title>
				<link>https://dean.sellers.id.au/2026/10/18/sim-01-284-hz/</link>
				<pubDate>Sun, 18 Oct 2026 20:00:00 +1100</pubDate>
				<guid>https://dean.sellers.id.au/2026/10/18/sim-01-284-hz/</guid>
				<description>&lt;p class=&#34;post-subtitle&#34;&gt;284 clocks a second, and the wrong place to look&lt;/p&gt;&lt;p&gt;&lt;em&gt;Part 1 of the simulator thread. Previously: &lt;a href=&#34;https://dean.sellers.id.au/2026/10/18/sim-00-the-simulator-i-use/&#34;&gt;The simulator I use&lt;/a&gt;. The other thread is the &lt;a href=&#34;https://dean.sellers.id.au/tags/riscv-cpu/&#34;&gt;RISC-V soft core&lt;/a&gt; series.&lt;/em&gt;&lt;/p&gt;&#xA;&lt;p&gt;The IDE&amp;rsquo;s board view has a little readout in the corner. It said &lt;strong&gt;Running at 284 Hz&lt;/strong&gt;, in red, because it wanted 1 kHz and could not get there. The board&amp;rsquo;s clock was 100 MHz, so the simulator was running the design more than three hundred thousand times slower than the real thing, and the Larson scanner crawled across the LEDs.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Simulator 0: The simulator I use</title>
				<link>https://dean.sellers.id.au/2026/10/18/sim-00-the-simulator-i-use/</link>
				<pubDate>Sun, 18 Oct 2026 17:00:00 +1100</pubDate>
				<guid>https://dean.sellers.id.au/2026/10/18/sim-00-the-simulator-i-use/</guid>
				<description>&lt;p class=&#34;post-subtitle&#34;&gt;The simulator I use, with the lid off&lt;/p&gt;&lt;p&gt;&lt;em&gt;Part 0 of a second thread alongside the RISC-V soft core series. It runs in parallel: the CPU posts say what the machine does, these say how I watch it.&lt;/em&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;em&gt;Series: &lt;a href=&#34;https://dean.sellers.id.au/tags/riscv-cpu/&#34;&gt;RISC-V soft core&lt;/a&gt; and &lt;a href=&#34;https://dean.sellers.id.au/tags/riscv-cpu-sim/&#34;&gt;Simulator&lt;/a&gt;. Part 0 of the simulator thread, so no previous part. The first CPU post is &lt;a href=&#34;https://dean.sellers.id.au/2026/10/18/riscv-01-a-cpu-you-can-watch/&#34;&gt;A CPU you can watch&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;&#xA;&lt;p&gt;The RISC-V posts show a lot of pictures of an FPGA board. None of them are the board yet. They are a simulator, and since I keep leaning on it I should say what it is, what is mine, and what is not.&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
