vxkyyy commited on
Commit
7535996
·
1 Parent(s): 754da81

fix: Update HTML page title to AgentIC

Browse files
Files changed (2) hide show
  1. src/agentic/agents/sdc_agent.py +31 -0
  2. web/index.html +14 -11
src/agentic/agents/sdc_agent.py ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # agents/sdc_agent.py
2
+ from crewai import Agent
3
+
4
+ def get_sdc_agent(llm, goal, verbose=False):
5
+ """
6
+ Returns an agent tailored for Synopsys Design Constraints (SDC) generation.
7
+ """
8
+ role = "Timing Constraint Engineer"
9
+ backstory = """You are a Senior Physical Design (PD) Engineer responsible for timing closure.
10
+ You write high-quality Synthesizable Design Constraints (SDC) files for ASIC flow (e.g., OpenLane, Yosys, OpenSTA).
11
+
12
+ Your Methodology:
13
+ 1. Read the provided Architecture Specification.
14
+ 2. Identify the primary clock port (usually 'clk') and its target frequency/period.
15
+ 3. Generate a standard SDC file implementing:
16
+ - create_clock
17
+ - set_input_delay (usually 20% of clock period)
18
+ - set_output_delay (usually 20% of clock period)
19
+ - set_driving_cell (optional/default)
20
+ - set_load (optional/default)
21
+ 4. Only output valid SDC commands, no markdown wrappers, no explanations in the final block.
22
+ """
23
+
24
+ return Agent(
25
+ role=role,
26
+ goal=goal,
27
+ backstory=backstory,
28
+ llm=llm,
29
+ verbose=verbose,
30
+ allow_delegation=False
31
+ )
web/index.html CHANGED
@@ -1,13 +1,16 @@
1
  <!doctype html>
2
  <html lang="en">
3
- <head>
4
- <meta charset="UTF-8" />
5
- <link rel="icon" type="image/svg+xml" href="/vite.svg" />
6
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
- <title>web</title>
8
- </head>
9
- <body>
10
- <div id="root"></div>
11
- <script type="module" src="/src/main.tsx"></script>
12
- </body>
13
- </html>
 
 
 
 
1
  <!doctype html>
2
  <html lang="en">
3
+
4
+ <head>
5
+ <meta charset="UTF-8" />
6
+ <link rel="icon" type="image/svg+xml" href="/vite.svg" />
7
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
8
+ <title>AgentIC</title>
9
+ </head>
10
+
11
+ <body>
12
+ <div id="root"></div>
13
+ <script type="module" src="/src/main.tsx"></script>
14
+ </body>
15
+
16
+ </html>