Add Load/Store table

This commit is contained in:
Werner
2023-06-07 12:10:02 -03:00
parent ec52031509
commit 7b34a57488

View File

@ -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>