mirror of
https://github.com/guilhermewerner/tomasulo-simulator
synced 2025-06-16 13:54:21 +00:00
Add Load/Store table
This commit is contained in:
@ -58,13 +58,17 @@ export default function Home() {
|
|||||||
<Container>
|
<Container>
|
||||||
<Row className="row my-4">
|
<Row className="row my-4">
|
||||||
<Col>
|
<Col>
|
||||||
<h3>Instruction Status</h3>
|
<h3>Ciclos: {clock}</h3>
|
||||||
</Col>
|
</Col>
|
||||||
<Col className="text-end">
|
<Col className="text-end">
|
||||||
<span>Ciclos: {clock}</span>
|
|
||||||
<Button className="ms-4" variant="primary" onClick={nextCycle}>Próximo</Button>
|
<Button className="ms-4" variant="primary" onClick={nextCycle}>Próximo</Button>
|
||||||
</Col>
|
</Col>
|
||||||
</Row>
|
</Row>
|
||||||
|
<Row className="row my-4">
|
||||||
|
<Col>
|
||||||
|
<div className="my-4">
|
||||||
|
<h3>Instruction Status</h3>
|
||||||
|
</div>
|
||||||
<Table bordered hover>
|
<Table bordered hover>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
@ -85,6 +89,8 @@ export default function Home() {
|
|||||||
))}
|
))}
|
||||||
</tbody>
|
</tbody>
|
||||||
</Table>
|
</Table>
|
||||||
|
</Col>
|
||||||
|
<Col>
|
||||||
<div className="my-4">
|
<div className="my-4">
|
||||||
<h3>Reorder Buffer</h3>
|
<h3>Reorder Buffer</h3>
|
||||||
</div>
|
</div>
|
||||||
@ -112,6 +118,44 @@ export default function Home() {
|
|||||||
))}
|
))}
|
||||||
</tbody>
|
</tbody>
|
||||||
</Table>
|
</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">
|
<div className="my-4">
|
||||||
<h3>Reservation Stations</h3>
|
<h3>Reservation Stations</h3>
|
||||||
</div>
|
</div>
|
||||||
@ -143,6 +187,8 @@ export default function Home() {
|
|||||||
))}
|
))}
|
||||||
</tbody>
|
</tbody>
|
||||||
</Table>
|
</Table>
|
||||||
|
</Col>
|
||||||
|
</Row>
|
||||||
<div className="my-4">
|
<div className="my-4">
|
||||||
<h3>Registers Status</h3>
|
<h3>Registers Status</h3>
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user