**Exhibit 31.01**

I,Douglas M. Pihl, certify that:

1.      I havereviewed this Annual Report on Form 10-K of MathStar, Inc.;

2.     Based on my knowledge, this annual report does not contain any untruestatement of a material fact or omit to state a material fact necessary to makethe statements made, in light of the circumstances under which such statementswere made, not misleading with respect to the period covered by this report;

3.     Based on my knowledge, the financial statements, and other financialinformation included in this report, fairly present in all material respectsthe financial condition, results of operations and cash flows of the registrantas of, and for, the periods presented in this report;

4.     The registrant’s other certifying officer(s) and I are responsible forestablishing and maintaining disclosure controls and procedures (as defined inExchange Act Rules 13a-15(e) and 15d-15(e)) and internal control overfinancial reporting (as defined in Exchange Act Rules 13a-15(f) and 15d-15(f))  for the registrant and have:

a)     Designed such disclosure controls and procedures, or caused suchdisclosure controls and procedures to be designed under our supervision, toensure that material information relating to the registrant, including itsconsolidated subsidiaries, is made known to us by others within those entities,particularly during the period in which this report is being prepared;

b)    Designedsuch internal control over financial reporting, or caused such internal controlover financial reporting to be designed under our supervision, to providereasonable assurance regarding the reliability of financial reporting and thepreparation of financial statements for external purposes in accordance withgenerally accepted accounting principles;

c)     Evaluated the effectiveness of the registrant’s disclosure controls andprocedures and presented in this report our conclusions about the effectivenessof the disclosure controls and procedures, as of the end of the period coveredby this report based on such evaluation; and

d)    Disclosed in this report any change in the registrant’s internal controlover financial reporting that occurred during the registrant’s most recentfiscal quarter (the registrant’s fourth fiscal quarter in the case of an annualreport) that has materially affected, or is reasonably likely to materiallyaffect, the registrant’s internal control over financial reporting; and

5.     The registrant’s other certifying officer(s) and I have disclosed, basedon our most recent evaluation of internal control over financial reporting, tothe registrant’s auditors and the audit committee of the registrant’s board ofdirectors (or persons performing the equivalent function):

a)     All significant deficiencies and material weaknesses in the design oroperation of internal control over financial reporting which are reasonablylikely to adversely affect the registrant’s ability to record, process,summarize and report financial information; and

b)     Any fraud, whetheror not material, that involves management or other employees who have asignificant role in the registrant’s internal control over financial reporting.
| March 13, 2007 |   |
|---------------------|--------|
|                | By     | /s/ Douglas M.  Pihl |   |
|                |   | Douglas M. Pihl |
|                |   | President and Chief  Executive   Officer |

 

----