mirror of
https://github.com/guilhermewerner/tomasulo-simulator
synced 2025-06-15 13:24:20 +00:00
Add Load/Store table
This commit is contained in:
@ -58,13 +58,17 @@ export default function Home() {
|
||||
<Container>
|
||||
<Row className="row my-4">
|
||||
<Col>
|
||||
<h3>Instruction Status</h3>
|
||||
<h3>Ciclos: {clock}</h3>
|
||||
</Col>
|
||||
<Col className="text-end">
|
||||
<span>Ciclos: {clock}</span>
|
||||
<Button className="ms-4" variant="primary" onClick={nextCycle}>Próximo</Button>
|
||||
</Col>
|
||||
</Row>
|
||||
<Row className="row my-4">
|
||||
<Col>
|
||||
<div className="my-4">
|
||||
<h3>Instruction Status</h3>
|
||||
</div>
|
||||
<Table bordered hover>
|
||||
<thead>
|
||||
<tr>
|
||||
@ -85,6 +89,8 @@ export default function Home() {
|
||||
))}
|
||||
</tbody>
|
||||
</Table>
|
||||
</Col>
|
||||
<Col>
|
||||
<div className="my-4">
|
||||
<h3>Reorder Buffer</h3>
|
||||
</div>
|
||||
@ -112,6 +118,44 @@ export default function Home() {
|
||||
))}
|
||||
</tbody>
|
||||
</Table>
|
||||
</Col>
|
||||
</Row>
|
||||
|
||||
<Row className="row my-4">
|
||||
<Col>
|
||||
<div className="my-4">
|
||||
<h3>Reservation Stations (Load/Store)</h3>
|
||||
</div>
|
||||
<Table bordered hover>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Time</th>
|
||||
<th>Busy</th>
|
||||
<th>Op</th>
|
||||
<th>Vj</th>
|
||||
<th>Vk</th>
|
||||
<th>Qj</th>
|
||||
<th>Qk</th>
|
||||
<th>A</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{reservationStations.map((instr, index) => (
|
||||
<tr>
|
||||
<td>batata</td>
|
||||
<td>batata</td>
|
||||
<td>batata</td>
|
||||
<td>batata</td>
|
||||
<td>batata</td>
|
||||
<td>batata</td>
|
||||
<td>batata</td>
|
||||
<td>batata</td>
|
||||
</tr>
|
||||
))}
|
||||
</tbody>
|
||||
</Table>
|
||||
</Col>
|
||||
<Col>
|
||||
<div className="my-4">
|
||||
<h3>Reservation Stations</h3>
|
||||
</div>
|
||||
@ -143,6 +187,8 @@ export default function Home() {
|
||||
))}
|
||||
</tbody>
|
||||
</Table>
|
||||
</Col>
|
||||
</Row>
|
||||
<div className="my-4">
|
||||
<h3>Registers Status</h3>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user