{"action":"closed","issue":{"url":"https://api.github.com/repos/clash-lang/clash-compiler/issues/62","labels_url":"https://api.github.com/repos/clash-lang/clash-compiler/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/clash-lang/clash-compiler/issues/62/comments","events_url":"https://api.github.com/repos/clash-lang/clash-compiler/issues/62/events","html_url":"https://github.com/clash-lang/clash-compiler/issues/62","id":89706473,"number":62,"title":"This piece of code eat up all CPU when generating verilog","user":{"login":"Alaya-in-Matrix","id":8230801,"avatar_url":"https://avatars.githubusercontent.com/u/8230801?v=3","gravatar_id":"","url":"https://api.github.com/users/Alaya-in-Matrix","html_url":"https://github.com/Alaya-in-Matrix","followers_url":"https://api.github.com/users/Alaya-in-Matrix/followers","following_url":"https://api.github.com/users/Alaya-in-Matrix/following{/other_user}","gists_url":"https://api.github.com/users/Alaya-in-Matrix/gists{/gist_id}","starred_url":"https://api.github.com/users/Alaya-in-Matrix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alaya-in-Matrix/subscriptions","organizations_url":"https://api.github.com/users/Alaya-in-Matrix/orgs","repos_url":"https://api.github.com/users/Alaya-in-Matrix/repos","events_url":"https://api.github.com/users/Alaya-in-Matrix/events{/privacy}","received_events_url":"https://api.github.com/users/Alaya-in-Matrix/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-20T02:48:23Z","updated_at":"2015-06-20T08:13:52Z","closed_at":"2015-06-20T08:13:52Z","body":"```haskell\r\n-- inspired by:\r\n-- fibs = 0 : 1 : zipWith (+) fibs (tail fibs)\r\n\r\nmodule Learn where \r\nimport CLaSH.Prelude\r\nfib :: Signal (Unsigned 64)\r\nfib = (register 1 fib) + (register 0 $ register 0 fib)\r\ntopEntity = fib \r\n```\r\n\r\nI read in the tutorial that `Signal` is represented by infinite list, so I am trying to generate a fib sequence. the code above works well when testing using `clash --interactive`, but when I try to generate verilog code, clash will eat up all CPU and doesn't give error message."}}